Interface ChannelProviderListener


public interface ChannelProviderListener
  • Method Details

    • onClientConnect

      void onClientConnect​(ChannelClientConnectEvent connectionEvent) throws java.lang.Exception
      Callback when a channel provider receives a connect request from a channel client
      Parameters:
      connectionEvent - connection event
      Throws:
      java.lang.Exception - a provider can reject the connection by throwing an exception
    • onClientDisconnect

      void onClientDisconnect​(ChannelClientConnectEvent connectionEvent)
      Callback when a channel provider receives when a channel client disconnects
      Parameters:
      connectionEvent - event object for the disconnect