public class AcceptHandler extends Object implements CompletionHandler<ServerSocketChannel,NioServer>
Constructor and Description |
---|
AcceptHandler() |
Modifier and Type | Method and Description |
---|---|
void |
completed(ServerSocketChannel serverSocketChannel,
NioServer nioServer) |
void |
failed(Throwable exc,
NioServer nioServer) |
public void completed(ServerSocketChannel serverSocketChannel, NioServer nioServer)
completed
in interface CompletionHandler<ServerSocketChannel,NioServer>
public void failed(Throwable exc, NioServer nioServer)
failed
in interface CompletionHandler<ServerSocketChannel,NioServer>
Copyright © 2024. All rights reserved.