Interface ExtendedRequest

    • Method Detail

      • getRequestName

        String getRequestName()
        Gets the Object Identifier corresponding to the extended request type. This is the requestName portion of the ExtendedRequst PDU.
        Returns:
        the dotted-decimal representation as a String of the OID
      • setRequestName

        ExtendedRequest setRequestName​(String oid)
        Sets the Object Identifier corresponding to the extended request type.
        Parameters:
        oid - the dotted-decimal representation as a String of the OID
        Returns:
        The ExtendedRequest instance
      • setMessageId

        ExtendedRequest setMessageId​(int messageId)
        Sets the Message ID for this request
        Specified by:
        setMessageId in interface Message
        Parameters:
        messageId - The message Id
        Returns:
        A Message reference
      • addControl

        ExtendedRequest addControl​(Control control)
        Adds a control to this Message.
        Specified by:
        addControl in interface Message
        Parameters:
        control - the control to add.
        Returns:
        A Message reference
      • addAllControls

        ExtendedRequest addAllControls​(Control[] controls)
        Adds an array of controls to this Message.
        Specified by:
        addAllControls in interface Message
        Parameters:
        controls - the controls to add.
        Returns:
        A Message reference
      • removeControl

        ExtendedRequest removeControl​(Control control)
        Deletes a control removing it from this Message.
        Specified by:
        removeControl in interface Message
        Parameters:
        control - the control to remove.
        Returns:
        A Message reference