|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.model.message.AbstractMessage
org.apache.directory.api.ldap.model.message.AbstractRequest
org.apache.directory.api.ldap.model.message.AbandonRequestImpl
public class AbandonRequestImpl
Implementation of an AbandonRequest message.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage |
|---|
controls |
| Fields inherited from interface org.apache.directory.api.ldap.model.message.AbandonRequest |
|---|
TYPE |
| Constructor Summary | |
|---|---|
AbandonRequestImpl()
Creates an AbandonRequest implementation for an outstanding request. |
|
AbandonRequestImpl(int abdandonnedId)
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. |
AbandonRequest |
addAllControls(Control[] controls)
Adds an array of controls to this Message. |
AbandonRequest |
addControl(Control control)
Adds a control to this Message. |
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()
|
AbandonRequest |
removeControl(Control control)
Deletes a control removing it from this Message. |
AbandonRequest |
setAbandoned(int abandonId)
Sets the id of the request operation to terminate. |
AbandonRequest |
setMessageId(int messageId)
Sets the Message ID for this request |
String |
toString()
Return a String representing an AbandonRequest |
| Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractRequest |
|---|
hasResponse |
| Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage |
|---|
get, getControl, getControls, getMessageId, getType, hasControl, put, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Request |
|---|
hasResponse |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Message |
|---|
get, getControl, getControls, getMessageId, getType, hasControl, put |
| Constructor Detail |
|---|
public AbandonRequestImpl()
public AbandonRequestImpl(int abdandonnedId)
abdandonnedId - the sequence identifier of the AbandonRequest message.| Method Detail |
|---|
public int getAbandoned()
getAbandoned in interface AbandonRequestpublic AbandonRequest setAbandoned(int abandonId)
setAbandoned in interface AbandonRequestabandonId - the sequence id of the request message to abandon
public void abandon()
public AbandonRequest setMessageId(int messageId)
setMessageId in interface MessagesetMessageId in class AbstractMessagemessageId - The message Id
public AbandonRequest addControl(Control control)
throws MessageException
addControl in interface MessageaddControl in class AbstractMessagecontrol - the control to add.
MessageException - if controls cannot be added to this Message or the control is
not known etc.
public AbandonRequest addAllControls(Control[] controls)
throws MessageException
addAllControls in interface MessageaddAllControls in class AbstractMessagecontrols - the controls to add.
MessageException - if controls cannot be added to this Message or they are not known etc.
public AbandonRequest removeControl(Control control)
throws MessageException
removeControl in interface MessageremoveControl in class AbstractMessagecontrol - the control to remove.
MessageException - if controls cannot be added to this Message or the control is
not known etc.public boolean equals(Object obj)
equals in class AbstractRequestobj - the object to test for equality to this AbandonRequest
public int hashCode()
hashCode in class AbstractRequestObject.hashCode()public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||