public class AbandonRequestDsml extends AbstractRequestDsml<AbandonRequest> implements AbandonRequest
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, hasResponse
get, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, hasControl, put
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasResponse
get, getControl, getControls, getMessageId, hasControl, put
public AbandonRequestDsml(LdapApiService codec)
codec
- The LDAP Service to usepublic AbandonRequestDsml(LdapApiService codec, AbandonRequest ldapMessage)
codec
- The LDAP Service to useldapMessage
- the message to decoratepublic MessageTypeEnum getType()
getType
in interface Message
getType
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 AbandonRequest
public AbandonRequest setAbandoned(int requestId)
setAbandoned
in interface AbandonRequest
requestId
- the sequence id of the request message to abandonpublic AbandonRequest setMessageId(int messageId)
setMessageId
in interface Message
setMessageId
in class AbstractDsmlMessageDecorator<AbandonRequest>
messageId
- The message Idpublic AbandonRequest addControl(Control control)
addControl
in interface Message
addControl
in class AbstractDsmlMessageDecorator<AbandonRequest>
control
- the control to add.public AbandonRequest addAllControls(Control[] controls)
addAllControls
in interface Message
addAllControls
in class AbstractDsmlMessageDecorator<AbandonRequest>
controls
- the controls to add.public AbandonRequest removeControl(Control control)
removeControl
in interface Message
removeControl
in class AbstractDsmlMessageDecorator<AbandonRequest>
control
- the control to remove.Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.