public class SyncStateControl extends AbstractControl implements ResponseControl
syncStateValue ::= SEQUENCE {
state ENUMERATED {
present (0),
add (1),
modify (2),
delete (3)
},
entryUUID syncUUID,
cookie syncCookie OPTIONAL
}
| Modifier and Type | Class and Description |
|---|---|
static class |
SyncStateControl.State
Types of states.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
OID
OID of this control.
|
logger| Constructor and Description |
|---|
SyncStateControl()
Default constructor.
|
SyncStateControl(boolean critical)
Creates a new sync state control.
|
SyncStateControl(SyncStateControl.State state)
Creates a new sync state control.
|
SyncStateControl(SyncStateControl.State state,
boolean critical)
Creates a new sync state control.
|
SyncStateControl(SyncStateControl.State state,
UUID uuid,
boolean critical)
Creates a new sync state control.
|
SyncStateControl(SyncStateControl.State state,
UUID uuid,
byte[] value,
boolean critical)
Creates a new sync state control.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(byte[] berValue)
Initializes this response control with the supplied BER encoded data.
|
byte[] |
getCookie()
Returns the sync state cookie.
|
UUID |
getEntryUuid()
Returns the entry uuid.
|
SyncStateControl.State |
getSyncState()
Returns the sync state.
|
int |
hashCode()
Returns the hash code for this object.
|
void |
setCookie(byte[] value)
Sets the sync state cookie.
|
void |
setEntryUuid(UUID uuid)
Sets the entry uuid.
|
void |
setSyncState(SyncStateControl.State state)
Sets the sync state.
|
String |
toString() |
equals, getCriticality, getOIDclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCriticality, getOIDpublic static final String OID
public SyncStateControl()
public SyncStateControl(boolean critical)
critical - whether this control is criticalpublic SyncStateControl(SyncStateControl.State state)
state - sync statepublic SyncStateControl(SyncStateControl.State state, boolean critical)
state - sync statecritical - whether this control is criticalpublic SyncStateControl(SyncStateControl.State state, UUID uuid, boolean critical)
state - sync stateuuid - sync entry uuidcritical - whether this control is criticalpublic SyncStateControl(SyncStateControl.State state, UUID uuid, byte[] value, boolean critical)
state - sync stateuuid - sync entry uuidvalue - sync state cookiecritical - whether this control is criticalpublic SyncStateControl.State getSyncState()
public void setSyncState(SyncStateControl.State state)
state - sync statepublic UUID getEntryUuid()
public void setEntryUuid(UUID uuid)
uuid - entry uuidpublic byte[] getCookie()
public void setCookie(byte[] value)
value - sync state cookiepublic int hashCode()
AbstractControlhashCode in class AbstractControlpublic void decode(byte[] berValue)
ResponseControldecode in interface ResponseControlberValue - BER encoded response controlCopyright © 2023. All rights reserved.