Interface Receiver

    • Method Detail

      • close

        boolean close()
        Close the receiver.
        Returns:
        true if there is some resources not closed before, false otherwise
      • unregister

        void unregister​(Plugin plugin)
        Unregister the packet handlers of the plugin
        Parameters:
        plugin - the plugin
      • unregisterAll

        boolean unregisterAll()
        Unregister all the packet handlers
        Returns:
        true if there are some packet-handlers not belonging to MainPlugin not been unregistered, false otherwise