Class Request

    • Method Detail

      • createResponse

        public abstract Response createResponse​(int status)
        Create a response of the appropriate type. Subclasses override to return correct type. Implementations MUST set the response sequence number to be the same as the request sequence number.
        Parameters:
        status - the value for the responses' command_status field
        Returns:
        the response corresponding to this request, or null if there is no appropriate response type (eg. outbind, alert_notification).