public class AbandonRequestDsml extends AbstractRequestDsml<AbandonRequest> implements AbandonRequest
TYPE| Constructor and Description |
|---|
AbandonRequestDsml(LdapApiService codec)
Creates a new instance of AbandonRequestDsml.
|
AbandonRequestDsml(LdapApiService codec,
AbandonRequest ldapMessage)
Creates a new instance of AbandonRequestDsml.
|
| Modifier and Type | Method and Description |
|---|---|
AbandonRequest |
addAllControls(Control[] controls)
Adds an array of controls to this Message.
|
AbandonRequest |
addControl(Control control)
Adds a control to this Message.
|
int |
getAbandoned()
Gets the id of the request operation to terminate.
|
int |
getAbandonedMessageId()
Get the abandoned message ID
|
MessageTypeEnum |
getType()
Gets the LDAP message type code associated with this Message.
|
AbandonRequest |
removeControl(Control control)
Deletes a control removing it from this Message.
|
AbandonRequest |
setAbandoned(int requestId)
Sets the id of the request operation to terminate.
|
AbandonRequest |
setAbandonedMessageId(int abandonedMessageId)
Set the abandoned message ID
|
AbandonRequest |
setMessageId(int messageId)
Sets the Message ID for this request
|
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Creates the Request Element and adds RequestID and Controls.
|
computeLength, encode, hasResponseget, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, hasControl, putclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasResponseget, getControl, getControls, getMessageId, hasControl, putpublic AbandonRequestDsml(LdapApiService codec)
public AbandonRequestDsml(LdapApiService codec, AbandonRequest ldapMessage)
ldapMessage - the message to decoratepublic MessageTypeEnum getType()
getType in interface MessagegetType in class AbstractDsmlMessageDecorator<AbandonRequest>public org.dom4j.Element toDsml(org.dom4j.Element root)
toDsml in interface DsmlDecorator<AbandonRequest>toDsml in class AbstractRequestDsml<AbandonRequest>root - the root elementpublic int getAbandonedMessageId()
public AbandonRequest setAbandonedMessageId(int abandonedMessageId)
abandonedMessageId - The abandoned messageID to set.public int getAbandoned()
getAbandoned in interface AbandonRequestpublic AbandonRequest setAbandoned(int requestId)
setAbandoned in interface AbandonRequestrequestId - the sequence id of the request message to abandonpublic AbandonRequest setMessageId(int messageId)
setMessageId in interface MessagesetMessageId in class AbstractDsmlMessageDecorator<AbandonRequest>messageId - The message Idpublic AbandonRequest addControl(Control control)
addControl in interface MessageaddControl in class AbstractDsmlMessageDecorator<AbandonRequest>control - the control to add.public AbandonRequest addAllControls(Control[] controls)
addAllControls in interface MessageaddAllControls in class AbstractDsmlMessageDecorator<AbandonRequest>controls - the controls to add.public AbandonRequest removeControl(Control control)
removeControl in interface MessageremoveControl in class AbstractDsmlMessageDecorator<AbandonRequest>control - the control to remove.Copyright © 2021. All rights reserved.