Class AbstractProtocolRequestEvent

    • Constructor Detail

      • AbstractProtocolRequestEvent

        public AbstractProtocolRequestEvent​(java.lang.String origin,
                                            java.lang.String srcAddr,
                                            java.lang.String dstAddr)
    • Method Detail

      • withRequest

        public AbstractProtocolRequestEvent withRequest​(java.lang.Object request)
        The literal request object stored in the protocol event.
        Parameters:
        request - The request object associated with this protocol.
        Returns:
        The request object.
      • getRequest

        public java.lang.Object getRequest()
        Get the protocol-level request object
        Specified by:
        getRequest in interface ProtocolRequestEvent
        Returns:
        the request object
      • getSourceAddress

        public java.lang.String getSourceAddress()
        Get the source address; i.e. the origin that invoked this protocol request.
        Specified by:
        getSourceAddress in interface ProtocolRequestEvent
        Returns:
        The source address
      • getDestinationAddress

        public java.lang.String getDestinationAddress()
        Get the destination address; i.e. the receiving end for this request.
        Specified by:
        getDestinationAddress in interface ProtocolRequestEvent
        Returns:
        The destination address