public interface Message
| Modifier and Type | Method and Description |
|---|---|
Message |
addAllControls(Control[] controlsToAdd)
Adds an array of controls to this Message.
|
Message |
addControl(Control control)
Adds a control to this Message.
|
java.lang.Object |
get(java.lang.Object key)
Gets a message scope parameter.
|
Control |
getControl(java.lang.String oid)
Gets the control associated with the given OID.
|
java.util.Map<java.lang.String,Control> |
getControls()
Gets the controls associated with this message mapped by OID.
|
int |
getMessageId()
Gets the session unique message sequence id for this message.
|
MessageTypeEnum |
getType()
Gets the LDAP message type code associated with this Message.
|
boolean |
hasControl(java.lang.String oid)
Checks whether or not this message has the specified control.
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Sets a message scope parameter.
|
Message |
removeControl(Control control)
Deletes a control removing it from this Message.
|
Message |
setMessageId(int messageId)
Sets the Message ID for this request
|
MessageTypeEnum getType()
java.util.Map<java.lang.String,Control> getControls()
Control getControl(java.lang.String oid)
oid - The Cntrol's OID we are looking forboolean hasControl(java.lang.String oid)
oid - the OID of the controlMessage addControl(Control control)
control - the control to add.Message addAllControls(Control[] controlsToAdd)
controlsToAdd - the controls to add.Message removeControl(Control control)
control - the control to remove.int getMessageId()
java.lang.Object get(java.lang.Object key)
key - the key used to access a message parameter.java.lang.Object put(java.lang.Object key,
java.lang.Object value)
key - the parameter keyvalue - the parameter valueMessage setMessageId(int messageId)
messageId - The message Id