public class AbandonRequestImpl extends AbstractRequest implements AbandonRequest
| Modifier and Type | Field and Description |
|---|---|
private int |
abandonId
Sequence identifier of the outstanding request message to abandon
|
private static MessageTypeEnum |
TYPE
Ldap abandon request type code
|
serialVersionUIDcontrols| Constructor and Description |
|---|
AbandonRequestImpl()
Creates an AbandonRequest implementation for an outstanding request.
|
AbandonRequestImpl(int abdandonnedId)
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.
|
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
|
hasResponseget, getControl, getControls, getMessageId, getType, hasControl, put, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waithasResponseget, getControl, getControls, getMessageId, getType, hasControl, putprivate int abandonId
private static final MessageTypeEnum TYPE
public AbandonRequestImpl()
public AbandonRequestImpl(int abdandonnedId)
abdandonnedId - the sequence identifier of the AbandonRequest message.public int getAbandoned()
getAbandoned in interface AbandonRequestpublic AbandonRequest setAbandoned(int abandonId)
setAbandoned in interface AbandonRequestabandonId - the sequence id of the request message to abandonpublic void abandon()
public AbandonRequest setMessageId(int messageId)
setMessageId in interface MessagesetMessageId in class AbstractMessagemessageId - The message Idpublic AbandonRequest addControl(Control control)
addControl in interface MessageaddControl in class AbstractMessagecontrol - the control to add.public AbandonRequest addAllControls(Control[] controls)
addAllControls in interface MessageaddAllControls in class AbstractMessagecontrols - the controls to add.public AbandonRequest removeControl(Control control)
removeControl in interface MessageremoveControl in class AbstractMessagecontrol - the control to remove.public boolean equals(Object obj)
equals in class AbstractRequestobj - the object to test for equality to this AbandonRequestpublic int hashCode()
hashCode in class AbstractRequestObject.hashCode()Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.