Interface ProtocolOp

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ASN1Element encodeProtocolOp()
      Encodes this protocol op to an ASN.1 element suitable for inclusion in an encoded LDAP message.
      byte getProtocolOpType()
      Retrieves the BER type for this protocol op.
      void toString​(java.lang.StringBuilder buffer)
      Appends a string representation of this LDAP protocol op to the provided buffer.
      void writeTo​(ASN1Buffer buffer)
      Writes an ASN.1-encoded representation of this LDAP protocol op to the provided ASN.1 buffer.
    • Method Detail

      • getProtocolOpType

        byte getProtocolOpType()
        Retrieves the BER type for this protocol op.
        Returns:
        The BER type for this protocol op.
      • encodeProtocolOp

        ASN1Element encodeProtocolOp()
        Encodes this protocol op to an ASN.1 element suitable for inclusion in an encoded LDAP message.
        Returns:
        The ASN.1 element containing the encoded protocol op.
      • writeTo

        void writeTo​(ASN1Buffer buffer)
        Writes an ASN.1-encoded representation of this LDAP protocol op to the provided ASN.1 buffer. This method is intended for internal use only and should not be used by third-party code.
        Parameters:
        buffer - The ASN.1 buffer to which the encoded representation should be written.
      • toString

        void toString​(java.lang.StringBuilder buffer)
        Appends a string representation of this LDAP protocol op to the provided buffer.
        Parameters:
        buffer - The buffer to which the string representation should be appended.