Interface TunnelClientListener
public interface TunnelClientListener
Listener that can be used to receive
TunnelClient events.- Since:
- 1.3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidonClose(SocketChannel socket) Called when a socket channel is closed.voidonOpen(SocketChannel socket) Called when a socket channel is opened.
-
Method Details
-
onOpen
Called when a socket channel is opened.- Parameters:
socket- the socket channel
-
onClose
Called when a socket channel is closed.- Parameters:
socket- the socket channel
-