Interface NetMessageHandler

    • Method Detail

      • receive

        void receive​(DataPacket packet)
        Receive messages from the configured port
        Parameters:
        packet - the received data
      • send

        void send​(NetBidibPort port,
                  byte[] bytes)
        Send data to the port.
        Parameters:
        port - the port
        bytes - the data
      • acceptClient

        void acceptClient​(String remoteHost)
        Accept new client.
        Parameters:
        remoteHost - the host
      • cleanup

        void cleanup​(String remoteHost)
        Cleanup the connection of the client.
        Parameters:
        remoteHost -