Class Receptor

    • Constructor Detail

      • Receptor

        public Receptor()
    • Method Detail

      • reset

        public void reset()
      • handleMessage

        public void handleMessage​(Message msg)
        Description copied from interface: MessageHandler
        This function is called when a message arrives.
        Specified by:
        handleMessage in interface MessageHandler
        Parameters:
        msg - The message that arrived.
      • handleReply

        public void handleReply​(Reply reply)
        Description copied from interface: ReplyHandler
        This function is called when a reply arrives.
        Specified by:
        handleReply in interface ReplyHandler
        Parameters:
        reply - The reply that arrived.
      • getMessage

        public Message getMessage​(int seconds)
      • getReply

        public Reply getReply​(int seconds)