org.ldaptive.ad.control
Class NotificationControl

java.lang.Object
  extended by org.ldaptive.control.AbstractControl
      extended by org.ldaptive.ad.control.NotificationControl
All Implemented Interfaces:
Control, RequestControl

public class NotificationControl
extends AbstractControl
implements RequestControl

Request control for active directory servers to send asynchronous notifications to the client when a change is made. See http://msdn.microsoft.com/en-us/library/cc223353.aspx

Version:
$Revision: 3189 $ $Date: 2016-11-01 17:21:43 -0400 (Tue, 01 Nov 2016) $
Author:
Middleware Services

Field Summary
static String OID
          OID of this control.
 
Fields inherited from class org.ldaptive.control.AbstractControl
logger
 
Constructor Summary
NotificationControl()
          Default constructor.
NotificationControl(boolean critical)
          Creates a new notification control.
 
Method Summary
 byte[] encode()
          Provides the BER encoding of this control.
 boolean equals(Object o)
          
 int hashCode()
          Returns the hash code for this object.
 String toString()
          
 
Methods inherited from class org.ldaptive.control.AbstractControl
getCriticality, getOID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ldaptive.control.Control
getCriticality, getOID
 

Field Detail

OID

public static final String OID
OID of this control.

See Also:
Constant Field Values
Constructor Detail

NotificationControl

public NotificationControl()
Default constructor.


NotificationControl

public NotificationControl(boolean critical)
Creates a new notification control.

Parameters:
critical - whether this control is critical
Method Detail

equals

public boolean equals(Object o)

Overrides:
equals in class AbstractControl

hashCode

public int hashCode()
Description copied from class: AbstractControl
Returns the hash code for this object.

Specified by:
hashCode in class AbstractControl
Returns:
hash code

toString

public String toString()

Overrides:
toString in class Object

encode

public byte[] encode()
Provides the BER encoding of this control.

Specified by:
encode in interface RequestControl
Returns:
BER encoded request control


Copyright © 2003-2017 Virginia Tech. All Rights Reserved.