org.apache.directory.shared.ldap.codec.controls
Class CascadeControl

java.lang.Object
  extended by org.apache.directory.shared.asn1.AbstractAsn1Object
      extended by org.apache.directory.shared.ldap.codec.controls.AbstractControl
          extended by org.apache.directory.shared.ldap.codec.controls.CascadeControl
All Implemented Interfaces:
Asn1Object, CodecControl, Control

public class CascadeControl
extends AbstractControl

Version:
$Rev$
Author:
Apache Directory Project

Field Summary
static java.lang.String CONTROL_OID
          The cascade control OID
 
Fields inherited from class org.apache.directory.shared.ldap.codec.controls.AbstractControl
decoder, value, valueLength
 
Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object
parent
 
Constructor Summary
CascadeControl()
          Default constructor
 
Method Summary
 int computeLength()
          Returns the default control length.
 java.lang.String toString()
          Return a String representing this Cascade Control.
 
Methods inherited from class org.apache.directory.shared.ldap.codec.controls.AbstractControl
computeLength, encode, getDecoder, getOid, getValue, hasValue, isCritical, setCritical, setValue
 
Methods inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONTROL_OID

public static final java.lang.String CONTROL_OID
The cascade control OID

See Also:
Constant Field Values
Constructor Detail

CascadeControl

public CascadeControl()
Default constructor

Method Detail

computeLength

public int computeLength()
Returns the default control length.

Specified by:
computeLength in interface Asn1Object
Specified by:
computeLength in interface CodecControl
Overrides:
computeLength in class AbstractControl
Returns:
The object's computed length

toString

public java.lang.String toString()
Return a String representing this Cascade Control.

Overrides:
toString in class AbstractControl


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.