org.apache.directory.shared.ldap.codec.decorators
Class AbandonableResultResponseRequestDecorator<M extends AbandonableResultResponseRequest>

java.lang.Object
  extended by org.apache.directory.shared.ldap.codec.decorators.MessageDecorator<M>
      extended by org.apache.directory.shared.ldap.codec.decorators.RequestDecorator<M>
          extended by org.apache.directory.shared.ldap.codec.decorators.ResultResponseRequestDecorator<M>
              extended by org.apache.directory.shared.ldap.codec.decorators.AbandonableRequestDecorator<M>
                  extended by org.apache.directory.shared.ldap.codec.decorators.AbandonableResultResponseRequestDecorator<M>
All Implemented Interfaces:
Decorator<M>, AbandonableRequest, Message, Request, ResultResponseRequest

public abstract class AbandonableResultResponseRequestDecorator<M extends AbandonableResultResponseRequest>
extends AbandonableRequestDecorator<M>
implements ResultResponseRequest

A decorator for the LdapResultResponse message

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.ldap.codec.decorators.MessageDecorator
messageLength
 
Constructor Summary
AbandonableResultResponseRequestDecorator(LdapCodecService codec, M decoratedMessage)
          Makes Request a MessageDecorator.
 
Method Summary
 ResultResponse getResultResponse()
          
 boolean hasResponse()
          
 
Methods inherited from class org.apache.directory.shared.ldap.codec.decorators.AbandonableRequestDecorator
abandon, addAbandonListener, getAbandonableRequest, isAbandoned
 
Methods inherited from class org.apache.directory.shared.ldap.codec.decorators.MessageDecorator
addAllControls, addControl, get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, removeControl, setControlsLength, setMessageId, 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.Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
 
Methods inherited from interface org.apache.directory.shared.ldap.codec.api.Decorator
computeLength, encode
 

Constructor Detail

AbandonableResultResponseRequestDecorator

public AbandonableResultResponseRequestDecorator(LdapCodecService codec,
                                                 M decoratedMessage)
Makes Request a MessageDecorator.

Parameters:
decoratedMessage - the decorated message
Method Detail

hasResponse

public boolean hasResponse()

Specified by:
hasResponse in interface Request
Overrides:
hasResponse in class ResultResponseRequestDecorator<M extends AbandonableResultResponseRequest>

getResultResponse

public ResultResponse getResultResponse()

Specified by:
getResultResponse in interface ResultResponseRequest
Overrides:
getResultResponse in class ResultResponseRequestDecorator<M extends AbandonableResultResponseRequest>


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