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 Type
    Method
    Description
    void
    Called when a socket channel is closed.
    void
    Called when a socket channel is opened.
  • Method Details

    • 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