|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.intermediate.AbstractIntermediateResponse
org.ldaptive.intermediate.SyncInfoMessage
public class SyncInfoMessage
Intermediate response message for ldap content synchronization. See RFC 4533. Message is defined as:
syncInfoValue ::= CHOICE {
newcookie [0] syncCookie,
refreshDelete [1] SEQUENCE {
cookie syncCookie OPTIONAL,
refreshDone BOOLEAN DEFAULT TRUE
},
refreshPresent [2] SEQUENCE {
cookie syncCookie OPTIONAL,
refreshDone BOOLEAN DEFAULT TRUE
},
syncIdSet [3] SEQUENCE {
cookie syncCookie OPTIONAL,
refreshDeletes BOOLEAN DEFAULT FALSE,
syncUUIDs SET OF syncUUID
}
}
| Nested Class Summary | |
|---|---|
static class |
SyncInfoMessage.Type
Types of request modes. |
| Field Summary | |
|---|---|
static String |
OID
OID of this response. |
| Constructor Summary | |
|---|---|
SyncInfoMessage()
Default constructor. |
|
SyncInfoMessage(ResponseControl[] responseControls,
int id)
Creates a new sync info message. |
|
| Method Summary | |
|---|---|
void |
decode(byte[] berValue)
Initializes this response with the supplied BER encoded data. |
byte[] |
getCookie()
Returns the sync request cookie. |
Set<UUID> |
getEntryUuids()
Returns the entry uuids. |
SyncInfoMessage.Type |
getMessageType()
Returns the message type. |
boolean |
getRefreshDeletes()
Returns whether to refresh deletes. |
boolean |
getRefreshDone()
Returns whether refreshes are done. |
int |
hashCode()
Returns the hash code for this object. |
void |
setCookie(byte[] value)
Sets the sync request cookie. |
void |
setEntryUuids(Set<UUID> uuids)
Sets the entry uuids. |
void |
setMessageType(SyncInfoMessage.Type type)
Sets the message type. |
void |
setRefreshDeletes(boolean b)
Sets whether to refresh deletes. |
void |
setRefreshDone(boolean b)
Sets whether refreshes are done. |
String |
toString()
|
| Methods inherited from class org.ldaptive.intermediate.AbstractIntermediateResponse |
|---|
equals, getControl, getControls, getMessageId, getOID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String OID
| Constructor Detail |
|---|
public SyncInfoMessage()
public SyncInfoMessage(ResponseControl[] responseControls,
int id)
responseControls - for this messageid - message id| Method Detail |
|---|
public SyncInfoMessage.Type getMessageType()
public void setMessageType(SyncInfoMessage.Type type)
type - message typepublic byte[] getCookie()
public void setCookie(byte[] value)
value - sync request cookiepublic boolean getRefreshDone()
public void setRefreshDone(boolean b)
b - refresh donepublic boolean getRefreshDeletes()
public void setRefreshDeletes(boolean b)
b - whether to refresh deletespublic Set<UUID> getEntryUuids()
public void setEntryUuids(Set<UUID> uuids)
uuids - entry uuidspublic void decode(byte[] berValue)
berValue - BER encoded response valuepublic int hashCode()
hashCode in class AbstractIntermediateResponsepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||