Class TCPNIOServerConnection.RegisterAcceptedChannelCompletionHandler
- java.lang.Object
-
- org.glassfish.grizzly.EmptyCompletionHandler<RegisterChannelResult>
-
- org.glassfish.grizzly.nio.transport.TCPNIOServerConnection.RegisterAcceptedChannelCompletionHandler
-
- All Implemented Interfaces:
CompletionHandler<RegisterChannelResult>
- Enclosing class:
- TCPNIOServerConnection
protected final class TCPNIOServerConnection.RegisterAcceptedChannelCompletionHandler extends EmptyCompletionHandler<RegisterChannelResult>
-
-
Constructor Summary
Constructors Constructor Description RegisterAcceptedChannelCompletionHandler()RegisterAcceptedChannelCompletionHandler(FutureImpl<Connection> listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompleted(RegisterChannelResult result)The operation was completed.-
Methods inherited from class org.glassfish.grizzly.EmptyCompletionHandler
cancelled, failed, updated
-
-
-
-
Constructor Detail
-
RegisterAcceptedChannelCompletionHandler
public RegisterAcceptedChannelCompletionHandler()
-
RegisterAcceptedChannelCompletionHandler
public RegisterAcceptedChannelCompletionHandler(FutureImpl<Connection> listener)
-
-
Method Detail
-
completed
public void completed(RegisterChannelResult result)
Description copied from class:EmptyCompletionHandlerThe operation was completed.- Specified by:
completedin interfaceCompletionHandler<RegisterChannelResult>- Overrides:
completedin classEmptyCompletionHandler<RegisterChannelResult>- Parameters:
result- the operation result Please note, for performance reasons the result object might be recycled after returning from the completed method. So it's not guaranteed that using of the result object is safe outside this method's scope.
-
-