public class JobMaster.ServerConnectHandler extends java.lang.Object implements ConnectHandler
Constructor and Description |
---|
ServerConnectHandler() |
Modifier and Type | Method and Description |
---|---|
void |
onClose(java.nio.channels.SocketChannel channel) |
void |
onConnect(java.nio.channels.SocketChannel channel) |
void |
onError(java.nio.channels.SocketChannel channel,
StatusCode status) |
public void onError(java.nio.channels.SocketChannel channel, StatusCode status)
onError
in interface ConnectHandler
public void onConnect(java.nio.channels.SocketChannel channel)
onConnect
in interface ConnectHandler
public void onClose(java.nio.channels.SocketChannel channel)
onClose
in interface ConnectHandler