org.apache.directory.shared.ldap.extras.extended.ads_impl.cancel
Class CancelRequestDecorator

java.lang.Object
  extended by org.apache.directory.shared.ldap.codec.api.MessageDecorator<M>
      extended by org.apache.directory.shared.ldap.codec.decorators.RequestDecorator<M>
          extended by org.apache.directory.shared.ldap.codec.decorators.ResultResponseRequestDecorator<M,R>
              extended by org.apache.directory.shared.ldap.codec.decorators.SingleReplyRequestDecorator<Q,P>
                  extended by org.apache.directory.shared.ldap.codec.api.ExtendedRequestDecorator<CancelRequest,CancelResponse>
                      extended by org.apache.directory.shared.ldap.extras.extended.ads_impl.cancel.CancelRequestDecorator
All Implemented Interfaces:
Decorator<CancelRequest>, CancelRequest, AbandonableRequest, ExtendedRequest<CancelResponse>, Message, Request, ResultResponseRequest<CancelResponse>, SingleReplyRequest<CancelResponse>

public class CancelRequestDecorator
extends ExtendedRequestDecorator<CancelRequest,CancelResponse>
implements CancelRequest

A Decorator for CancelRequests.

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.ldap.codec.api.ExtendedRequestDecorator
requestValue
 
Fields inherited from class org.apache.directory.shared.ldap.codec.api.MessageDecorator
messageLength
 
Fields inherited from interface org.apache.directory.shared.ldap.extras.extended.CancelRequest
EXTENSION_OID
 
Fields inherited from interface org.apache.directory.shared.ldap.model.message.ExtendedRequest
RESP_TYPE, TYPE
 
Constructor Summary
CancelRequestDecorator(LdapApiService codec, CancelRequest decoratedMessage)
           
 
Method Summary
 int getCancelId()
           
 byte[] getRequestValue()
          
 void setCancelId(int cancelId)
           
 void setRequestValue(byte[] requestValue)
          Sets the extended request's requestValue portion of the PDU.
 
Methods inherited from class org.apache.directory.shared.ldap.codec.api.ExtendedRequestDecorator
addAllControls, addControl, computeLength, encode, getExtendedRequestLength, getRequestName, getRequestNameBytes, removeControl, setExtendedRequestLength, setMessageId, setRequestName, setRequestNameBytes
 
Methods inherited from class org.apache.directory.shared.ldap.codec.decorators.SingleReplyRequestDecorator
abandon, addAbandonListener, getResponseType, isAbandoned
 
Methods inherited from class org.apache.directory.shared.ldap.codec.decorators.ResultResponseRequestDecorator
getResultResponse, hasResponse
 
Methods inherited from class org.apache.directory.shared.ldap.codec.api.MessageDecorator
get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, setControlsLength, setMessageLength, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.directory.shared.ldap.model.message.ExtendedRequest
addAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestName
 
Methods inherited from interface org.apache.directory.shared.ldap.model.message.SingleReplyRequest
getResponseType
 
Methods inherited from interface org.apache.directory.shared.ldap.model.message.ResultResponseRequest
getResultResponse
 
Methods inherited from interface org.apache.directory.shared.ldap.model.message.Request
hasResponse
 
Methods inherited from interface org.apache.directory.shared.ldap.model.message.Message
get, getControl, getControls, getMessageId, getType, hasControl, put
 

Constructor Detail

CancelRequestDecorator

public CancelRequestDecorator(LdapApiService codec,
                              CancelRequest decoratedMessage)
Method Detail

getCancelId

public int getCancelId()
Specified by:
getCancelId in interface CancelRequest

setCancelId

public void setCancelId(int cancelId)
Specified by:
setCancelId in interface CancelRequest

getRequestValue

public byte[] getRequestValue()

Overrides:
getRequestValue in class ExtendedRequestDecorator<CancelRequest,CancelResponse>

setRequestValue

public void setRequestValue(byte[] requestValue)
Sets the extended request's requestValue portion of the PDU.

Overrides:
setRequestValue in class ExtendedRequestDecorator<CancelRequest,CancelResponse>
Parameters:
payload - byte array of data encapsulating ext. req. parameters


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.