org.apache.directory.shared.ldap.message.internal
Class InternalAbstractRequest
java.lang.Object
org.apache.directory.shared.ldap.message.internal.InternalAbstractMessage
org.apache.directory.shared.ldap.message.internal.InternalAbstractRequest
- All Implemented Interfaces:
- InternalMessage, InternalRequest
- Direct Known Subclasses:
- AbandonRequestImpl, AbstractAbandonableRequest, ExtendedRequestImpl, UnbindRequestImpl
public class InternalAbstractRequest
- extends InternalAbstractMessage
- implements InternalRequest
The base request message class.
- Version:
- $Rev: 910150 $
- Author:
- Apache Directory Project
|
Method Summary |
int |
hashCode()
|
boolean |
hasResponse()
Indicator flag used to determine whether or not this type of request
produces a reply. |
InternalAbstractRequest
protected InternalAbstractRequest(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 InternalRequest
- Returns:
- true if any reply is generated, false if no response is generated
hashCode
public int hashCode()
- Overrides:
hashCode in class InternalAbstractMessage
- Returns:
- the instance's hash code
- See Also:
Object.hashCode()
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.