org.apache.directory.shared.ldap.message
Class AbandonRequestImpl
java.lang.Object
org.apache.directory.shared.ldap.message.AbstractMessage
org.apache.directory.shared.ldap.message.AbstractRequest
org.apache.directory.shared.ldap.message.AbandonRequestImpl
- All Implemented Interfaces:
- AbandonRequest, Message, Request
public class AbandonRequestImpl
- extends AbstractRequest
- implements AbandonRequest
Lockable implementation of an AbandonRequest.
- Version:
- $Rev: 434411 $
- Author:
- Apache Directory Project
| Fields inherited from interface org.apache.directory.shared.ldap.message.AbandonRequest |
TYPE |
|
Constructor Summary |
AbandonRequestImpl(int id)
Creates an AbandonRequest implementation for an outstanding request. |
|
Method Summary |
void |
abandon()
RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations
cannot be abandoned. |
boolean |
equals(java.lang.Object obj)
Checks for equality first by asking the super method which should compare
all but the Abandoned request's Id. |
int |
getAbandoned()
Gets the id of the request operation to terminate. |
void |
setAbandoned(int abandonId)
Sets the id of the request operation to terminate. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.directory.shared.ldap.message.Request |
hasResponse |
AbandonRequestImpl
public AbandonRequestImpl(int id)
- Creates an AbandonRequest implementation for an outstanding request.
- Parameters:
id - the sequence identifier of the AbandonRequest message.
getAbandoned
public int getAbandoned()
- Gets the id of the request operation to terminate.
- Specified by:
getAbandoned in interface AbandonRequest
- Returns:
- the id of the request message to abandon
setAbandoned
public void setAbandoned(int abandonId)
- Sets the id of the request operation to terminate.
- Specified by:
setAbandoned in interface AbandonRequest
- Parameters:
abandonId - the sequence id of the request message to abandon
equals
public boolean equals(java.lang.Object obj)
- Checks for equality first by asking the super method which should compare
all but the Abandoned request's Id. It then compares this to determine
equality.
- Overrides:
equals in class AbstractMessage
- Parameters:
obj - the object to test for equality to this AbandonRequest
- Returns:
- true if the obj equals this request false otherwise
abandon
public void abandon()
- RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations
cannot be abandoned.
Copyright © 2004-2007. All Rights Reserved.