org.apache.directory.shared.ldap.message
Class AbstractRequest
java.lang.Object
org.apache.directory.shared.ldap.message.AbstractMessage
org.apache.directory.shared.ldap.message.AbstractRequest
- All Implemented Interfaces:
- Message, Request
- Direct Known Subclasses:
- AbandonRequestImpl, AbstractAbandonableRequest, BindRequestImpl, ExtendedRequestImpl, UnbindRequestImpl
public class AbstractRequest
- extends AbstractMessage
- implements Request
The base request message class.
- Version:
- $Rev: 434411 $
- Author:
- Apache Directory Project
Constructor Summary |
protected |
AbstractRequest(int id,
MessageTypeEnum type,
boolean hasResponse)
Subclasses must provide these parameters via a super constructor call. |
Method Summary |
boolean |
hasResponse()
Indicator flag used to determine whether or not this type of request
produces a reply. |
AbstractRequest
protected AbstractRequest(int id,
MessageTypeEnum type,
boolean hasResponse)
- Subclasses must provide these parameters via a super constructor call.
- Parameters:
id
- the sequential message identifiertype
- the request type enumhasResponse
- flag indicating if this request generates a response
hasResponse
public boolean hasResponse()
- Indicator flag used to determine whether or not this type of request
produces a reply.
- Specified by:
hasResponse
in interface Request
- Returns:
- true if any reply is generated, false if no response is generated
Copyright © 2004-2012. All Rights Reserved.