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.
|
hasResponseadd, addAll, get, getControls, getMessageId, getType, hasControl, put, removeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waithasResponseadd, addAll, get, getControls, getMessageId, getType, hasControl, put, removepublic AbandonRequestImpl(int id)
id - the sequence identifier of the AbandonRequest message.public int getAbandoned()
getAbandoned in interface InternalAbandonRequestpublic void setAbandoned(int abandonId)
setAbandoned in interface InternalAbandonRequestabandonId - the sequence id of the request message to abandonpublic boolean equals(Object obj)
equals in class InternalAbstractMessageobj - the object to test for equality to this AbandonRequestpublic int hashCode()
hashCode in class InternalAbstractRequestObject.hashCode()public void abandon()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.