protected final class TCPNIOServerConnection.RegisterAcceptedChannelCompletionHandler extends EmptyCompletionHandler<RegisterChannelResult>
| Constructor and Description |
|---|
TCPNIOServerConnection.RegisterAcceptedChannelCompletionHandler() |
TCPNIOServerConnection.RegisterAcceptedChannelCompletionHandler(FutureImpl<Connection> listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
completed(RegisterChannelResult result)
The operation was completed.
|
cancelled, failed, updatedpublic TCPNIOServerConnection.RegisterAcceptedChannelCompletionHandler()
public TCPNIOServerConnection.RegisterAcceptedChannelCompletionHandler(FutureImpl<Connection> listener)
public void completed(RegisterChannelResult result)
EmptyCompletionHandlercompleted in interface CompletionHandler<RegisterChannelResult>completed in class EmptyCompletionHandler<RegisterChannelResult>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.Copyright © 2014 Oracle Corporation. All Rights Reserved.