Class NetBidibServerPlainTcpPort

    • Constructor Detail

      • NetBidibServerPlainTcpPort

        public NetBidibServerPlainTcpPort​(int portNumber,
                                          InetAddress bindAddress,
                                          NetMessageHandler messageReceiver)
                                   throws IOException
        Creates a new instance of NetBidibServerTcpPort.
        Parameters:
        portNumber - the port number
        bindAddress - the (optional) bind address
        messageReceiver - the message receiver
        Throws:
        IOException
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
      • send

        public void send​(byte[] sendData,
                         InetAddress address,
                         int portNumber)
                  throws IOException
        Description copied from interface: NetBidibPort
        Send the data to the host.
        Specified by:
        send in interface NetBidibPort
        Parameters:
        sendData - the data to send
        address - the receiving address of the host
        portNumber - the receiving port number of the host
        Throws:
        IOException