org.apache.directory.shared.dsmlv2.request
Class AbandonRequestDsml
java.lang.Object
org.apache.directory.shared.asn1.AbstractAsn1Object
org.apache.directory.shared.ldap.codec.LdapMessageCodec
org.apache.directory.shared.dsmlv2.LdapMessageDecorator
org.apache.directory.shared.dsmlv2.request.LdapRequestDecorator
org.apache.directory.shared.dsmlv2.request.AbstractRequestDsml
org.apache.directory.shared.dsmlv2.request.AbandonRequestDsml
- All Implemented Interfaces:
- Asn1Object, DsmlDecorator
public class AbandonRequestDsml
- extends AbstractRequestDsml
DSML Decorator for AbandonRequest
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
| Methods inherited from class org.apache.directory.shared.dsmlv2.LdapMessageDecorator |
addControl, addLength, computeLength, computeLengthProtocolOp, encode, encodeProtocolOp, getAbandonRequest, getAddRequest, getAddResponse, getBindRequest, getBindResponse, getCompareRequest, getCompareResponse, getControls, getControls, getCurrentControl, getCurrentLength, getDelRequest, getDelResponse, getExpectedLength, getExtendedRequest, getExtendedResponse, getLdapResponse, getMessageId, getMessageTypeName, getModifyDNRequest, getModifyDNResponse, getModifyRequest, getModifyResponse, getParent, getSearchRequest, getSearchResultDone, getSearchResultEntry, getSearchResultReference, getUnBindRequest, setCurrentLength, setExpectedLength, setMessageId, setParent, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbandonRequestDsml
public AbandonRequestDsml()
- Creates a new instance of AbandonRequestDsml.
AbandonRequestDsml
public AbandonRequestDsml(AbandonRequestCodec ldapMessage)
- Creates a new instance of AbandonRequestDsml.
- Parameters:
ldapMessage - the message to decorate
getMessageType
public MessageTypeEnum getMessageType()
-
- Overrides:
getMessageType in class LdapMessageDecorator
toDsml
public org.dom4j.Element toDsml(org.dom4j.Element root)
- Creates the Request Element and adds RequestID and Controls.
- Specified by:
toDsml in interface DsmlDecorator- Overrides:
toDsml in class AbstractRequestDsml
- Parameters:
root - the root element
- Returns:
- the Request Element of the given name containing
getAbandonedMessageId
public int getAbandonedMessageId()
- Get the abandoned message ID
- Returns:
- Returns the abandoned MessageId.
setAbandonedMessageId
public void setAbandonedMessageId(int abandonedMessageId)
- Set the abandoned message ID
- Parameters:
abandonedMessageId - The abandoned messageID to set.
Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.