Interface TunnelClientListener
public interface TunnelClientListener
Listener that can be used to receive
TunnelClient
events.- Since:
- 1.3.0
- Author:
- Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onClose
(SocketChannel socket) Called when a socket channel is closed.void
onOpen
(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
-