Top Description Constructors Methods
org.glassfish.grizzly

public Class EmptyCompletionHandler<E>

extends Object
implements CompletionHandler<E>
Class Inheritance
All Implemented Interfaces
org.glassfish.grizzly.CompletionHandler
Known Direct Subclasses
org.glassfish.grizzly.nio.transport.TCPNIOConnectorHandler.InstantConnectHandler, org.glassfish.grizzly.nio.transport.TCPNIOConnectorHandler.RegisterChannelCompletionHandler, org.glassfish.grizzly.nio.transport.TCPNIOServerConnection.RegisterAcceptedChannelCompletionHandler, org.glassfish.grizzly.nio.transport.TCPNIOTransport.RegisterChannelCompletionHandler, org.glassfish.grizzly.nio.transport.UDPNIOConnectorHandler.ConnectHandler, org.glassfish.grizzly.nio.transport.UDPNIOTransport.RegisterChannelCompletionHandler, org.glassfish.grizzly.streams.TransformerInput.TransformerCompletionHandler, org.glassfish.grizzly.utils.Futures.FutureToCompletionHandler

Empty implementation for CompletionHandler interface.
Author
Alexey Stashok

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
cancelled()

Implements org.glassfish.grizzly.CompletionHandler.cancelled.

The operation was cancelled.

public void
completed(E result)

Implements org.glassfish.grizzly.CompletionHandler.completed.

The operation was completed.

public void
failed(Throwable throwable)

Implements org.glassfish.grizzly.CompletionHandler.failed.

The operation was failed.

public void
updated(E result)

Implements org.glassfish.grizzly.CompletionHandler.updated.

The callback method may be called, when there is some progress in operation execution, but it is still not completed

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

EmptyCompletionHandlerback to summary
public EmptyCompletionHandler()

Method Detail

cancelledback to summary
public void cancelled()

Implements org.glassfish.grizzly.CompletionHandler.cancelled.

Doc from org.glassfish.grizzly.CompletionHandler.cancelled.

The operation was cancelled.

Annotations
@Override
completedback to summary
public void completed(E result)

Implements org.glassfish.grizzly.CompletionHandler.completed.

Doc from org.glassfish.grizzly.CompletionHandler.completed.

The operation was completed.

Annotations
@Override
failedback to summary
public void failed(Throwable throwable)

Implements org.glassfish.grizzly.CompletionHandler.failed.

Doc from org.glassfish.grizzly.CompletionHandler.failed.

The operation was failed.

Annotations
@Override
updatedback to summary
public void updated(E result)

Implements org.glassfish.grizzly.CompletionHandler.updated.

Doc from org.glassfish.grizzly.CompletionHandler.updated.

The callback method may be called, when there is some progress in operation execution, but it is still not completed

Annotations
@Override