public class AbandonRequestImpl extends InternalAbstractRequest implements InternalAbandonRequest
TYPE
Constructor and Description |
---|
AbandonRequestImpl(int id)
Creates an AbandonRequest implementation for an outstanding request.
|
Modifier and Type | Method and Description |
---|---|
void |
abandon()
RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations
cannot be abandoned.
|
boolean |
equals(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.
|
int |
hashCode() |
void |
setAbandoned(int abandonId)
Sets the id of the request operation to terminate.
|
hasResponse
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
hasResponse
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
public AbandonRequestImpl(int id)
id
- the sequence identifier of the AbandonRequest message.public int getAbandoned()
getAbandoned
in interface InternalAbandonRequest
public void setAbandoned(int abandonId)
setAbandoned
in interface InternalAbandonRequest
abandonId
- the sequence id of the request message to abandonpublic boolean equals(Object obj)
equals
in class InternalAbstractMessage
obj
- the object to test for equality to this AbandonRequestpublic int hashCode()
hashCode
in class InternalAbstractRequest
Object.hashCode()
public void abandon()
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.