Class SerializedMessageSender

    • Constructor Detail

      • SerializedMessageSender

        public SerializedMessageSender​(java.lang.String host,
                                       int port)
      • SerializedMessageSender

        public SerializedMessageSender​(java.lang.String host,
                                       int port,
                                       boolean ack)
    • Method Detail

      • sendMessage

        public void sendMessage​(IMessage message)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • receiveMessage

        public IMessage receiveMessage()
                                throws java.io.IOException,
                                       java.lang.ClassNotFoundException
        Description copied from interface: IMessageSender
        Will return null or throw EOFException when the connection has been severed.
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • p

        static void p​(java.lang.String s)