Interface EngineConnection

    • Method Detail

      • close

        void close()
        Closes the connection, showing the default disconnect reason. (the translation key disconnect.disconnected)
        Specified by:
        close in interface RemoteConnection
      • close

        void close​(Component reason)
        Closes the connection with the given reason.
        Parameters:
        reason - The reason for the disconnection