Interface IIncomingListener


  • public interface IIncomingListener
    Listener for incoming messages and packets.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void receiveMessage​(java.net.SocketAddress remoteaddress, byte[] data)
      Receive an incoming message.
      void receivePacket​(java.net.SocketAddress remoteaddress, byte[] data)
      Receive an incoming packet.
    • Method Detail

      • receivePacket

        void receivePacket​(java.net.SocketAddress remoteaddress,
                           byte[] data)
        Receive an incoming packet.
      • receiveMessage

        void receiveMessage​(java.net.SocketAddress remoteaddress,
                            byte[] data)
        Receive an incoming message.