|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.protocols.ldap.ProtocolOp
public abstract class ProtocolOp
This class defines the structures and methods for an LDAP protocol op, which is the core of an LDAP message.
Constructor Summary | |
---|---|
ProtocolOp()
|
Method Summary | |
---|---|
static ProtocolOp |
decode(ASN1Element element)
Decodes the provided ASN.1 element as an LDAP protocol op. |
abstract ASN1Element |
encode()
Encodes this protocol op to an ASN.1 element suitable for including in an LDAP message. |
abstract java.lang.String |
getProtocolOpName()
Retrieves the name for this protocol op type. |
abstract byte |
getType()
Retrieves the BER type for this protocol op. |
java.lang.String |
toString()
Retrieves a string representation of this LDAP protocol op. |
abstract void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this LDAP protocol op to the provided buffer. |
abstract void |
toString(java.lang.StringBuilder buffer,
int indent)
Appends a multi-line string representation of this LDAP protocol op to the provided buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProtocolOp()
Method Detail |
---|
public abstract byte getType()
public abstract java.lang.String getProtocolOpName()
public abstract ASN1Element encode()
public static ProtocolOp decode(ASN1Element element) throws LDAPException
element
- The ASN.1 element containing the encoded LDAP protocol op.
LDAPException
- If a problem occurs while trying to decode the
provided ASN.1 element as an LDAP protocol op.public java.lang.String toString()
toString
in class java.lang.Object
public abstract void toString(java.lang.StringBuilder buffer)
buffer
- The buffer to which the string should be appended.public abstract void toString(java.lang.StringBuilder buffer, int indent)
buffer
- The buffer to which the information should be appended.indent
- The number of spaces from the margin that the lines should
be indented.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |