Class ASocket

    • Constructor Detail

      • ASocket

        public ASocket()
    • Method Detail

      • registerReceiver

        public void registerReceiver​(Receiver receiver)
        Description copied from interface: Socket
        Register packet receiver for this socket
        Specified by:
        registerReceiver in interface Socket
        Parameters:
        receiver - the packet receiver for this socket
      • unregister

        public void unregister​(Plugin plugin)
        Description copied from interface: Socket
        Unregister the packet-handlers of the plugin
        Specified by:
        unregister in interface Socket
        Parameters:
        plugin - the plugin