Interface TunnelClientListener
public interface TunnelClientListener
Listener that can be used to receiveTunnelClient
events.- Since:
- 1.3.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onClose(SocketChannel socket)
Called when a socket channel is closed.void
onOpen(SocketChannel socket)
Called when a socket channel is opened.
Method Detail
onOpen
void onOpen(SocketChannel socket)
Called when a socket channel is opened.- Parameters:
socket
- the socket channel
onClose
void onClose(SocketChannel socket)
Called when a socket channel is closed.- Parameters:
socket
- the socket channel