All LDAP Classes
Internal LDAP Classes

com.novell.ldap.rfc2251
Class RfcControls

java.lang.Object
  extended bycom.novell.ldap.asn1.ASN1Object
      extended bycom.novell.ldap.asn1.ASN1Structured
          extended bycom.novell.ldap.asn1.ASN1SequenceOf
              extended bycom.novell.ldap.rfc2251.RfcControls
All Implemented Interfaces:
java.io.Serializable

public class RfcControls
extends ASN1SequenceOf

Represents LDAP Contreols. Controls ::= SEQUENCE OF Control

See Also:
Serialized Form

Field Summary
static int CONTROLS
          Controls context specific tag
 
Fields inherited from class com.novell.ldap.asn1.ASN1SequenceOf
ID, TAG
 
Fields inherited from class com.novell.ldap.asn1.ASN1Structured
 
Fields inherited from class com.novell.ldap.asn1.ASN1Object
 
Constructor Summary
RfcControls()
          Constructs a Controls object.
RfcControls(ASN1Decoder dec, java.io.InputStream in, int len)
          Constructs a Controls object by decoding it from an InputStream.
 
Method Summary
 void add(RfcControl control)
          Override add() of ASN1SequenceOf to only accept a Control type.
 ASN1Identifier getIdentifier()
          Override getIdentifier to return a context specific id.
 void set(int index, RfcControl control)
          Override set() of ASN1SequenceOf to only accept a Control type.
 
Methods inherited from class com.novell.ldap.asn1.ASN1SequenceOf
toString
 
Methods inherited from class com.novell.ldap.asn1.ASN1Structured
add, decodeStructured, encode, get, set, size, toArray, toString
 
Methods inherited from class com.novell.ldap.asn1.ASN1Object
getEncoding, setIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONTROLS

public static final int CONTROLS
Controls context specific tag

See Also:
Constant Field Values
Constructor Detail

RfcControls

public RfcControls()
Constructs a Controls object. This constructor is used in combination with the add() method to construct a set of Controls to send to the server.


RfcControls

public RfcControls(ASN1Decoder dec,
                   java.io.InputStream in,
                   int len)
            throws java.io.IOException
Constructs a Controls object by decoding it from an InputStream.

Method Detail

add

public final void add(RfcControl control)
Override add() of ASN1SequenceOf to only accept a Control type.


set

public final void set(int index,
                      RfcControl control)
Override set() of ASN1SequenceOf to only accept a Control type.


getIdentifier

public final ASN1Identifier getIdentifier()
Override getIdentifier to return a context specific id.

Overrides:
getIdentifier in class ASN1Object

All LDAP Classes
Internal LDAP Classes

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000