protected final class TCPNIOServerConnection.RegisterAcceptedChannelCompletionHandler extends EmptyCompletionHandler<RegisterChannelResult>
Constructor and Description |
---|
RegisterAcceptedChannelCompletionHandler() |
RegisterAcceptedChannelCompletionHandler(FutureImpl<Connection> listener) |
Modifier and Type | Method and Description |
---|---|
void |
completed(RegisterChannelResult result)
The operation was completed.
|
cancelled, failed, updated
public RegisterAcceptedChannelCompletionHandler()
public RegisterAcceptedChannelCompletionHandler(FutureImpl<Connection> listener)
public void completed(RegisterChannelResult result)
EmptyCompletionHandler
completed
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 © 2015 Oracle Corporation. All rights reserved.