Class PacketMapMessageInfo

    • Constructor Detail

      • PacketMapMessageInfo

        public PacketMapMessageInfo​(Packet reqPacket,
                                    Packet resPacket)
    • Method Detail

      • getMap

        public Map getMap()
        Description copied from interface: MessageInfo
        Get (a reference to) the Map object of this MessageInfo. Operations performed on the acquired Map must effect the Map within the MessageInfo.
        Specified by:
        getMap in interface MessageInfo
        Returns:
        the Map object of this MessageInfo. This method never returns null. If a Map has not been associated with the MessageInfo, this method instantiates a Map, associates it with this MessageInfo, and then returns it.
      • getRequestMessage

        public Object getRequestMessage()
        Description copied from interface: MessageInfo
        Get the request message object from this MessageInfo.
        Specified by:
        getRequestMessage in interface MessageInfo
        Returns:
        An object representing the request message, or null if no request message is set within the MessageInfo.
      • getResponseMessage

        public Object getResponseMessage()
        Description copied from interface: MessageInfo
        Get the response message object from this MessageInfo.
        Specified by:
        getResponseMessage in interface MessageInfo
        Returns:
        an object representing the response message, or null if no response message is set within the MessageInfo.
      • setRequestMessage

        public void setRequestMessage​(Object request)
        Description copied from interface: MessageInfo
        Set the request message object in this MessageInfo.
        Specified by:
        setRequestMessage in interface MessageInfo
        Parameters:
        request - An object representing the request message.
      • setResponseMessage

        public void setResponseMessage​(Object response)
        Description copied from interface: MessageInfo
        Set the response message object in this MessageInfo.
        Specified by:
        setResponseMessage in interface MessageInfo
        Parameters:
        response - An object representing the response message.