SendHandlerToCompletionHandler (Apache Tomcat 7.0.96 API Documentation)

org.apache.tomcat.websocket

## Class SendHandlerToCompletionHandler

- java.lang.Object
- - org.apache.tomcat.websocket.SendHandlerToCompletionHandler

- All Implemented Interfaces:
    java.nio.channels.CompletionHandler<java.lang.Long,java.lang.Void>

      public class SendHandlerToCompletionHandler
      extends java.lang.Object
      implements java.nio.channels.CompletionHandler<java.lang.Long,java.lang.Void>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SendHandlerToCompletionHandler(SendHandler handler)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `completed(java.lang.Long result, java.lang.Void attachment)`
    `void` | `failed(java.lang.Throwable exc, java.lang.Void attachment)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SendHandlerToCompletionHandler

          public SendHandlerToCompletionHandler(SendHandler handler)

  - ### Method Detail

    - #### completed

          public void completed(java.lang.Long result,
                       java.lang.Void attachment)

      Specified by:
        `completed` in interface `java.nio.channels.CompletionHandler<java.lang.Long,java.lang.Void>`

    - #### failed

          public void failed(java.lang.Throwable exc,
                    java.lang.Void attachment)

      Specified by:
        `failed` in interface `java.nio.channels.CompletionHandler<java.lang.Long,java.lang.Void>`

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.