public class StartTransactionResponseImpl extends org.apache.directory.api.ldap.model.message.AbstractExtendedResponse implements StartTransactionResponse
StartTransactionResponse ::= [APPLICATION 24] SEQUENCE {
COMPONENTS OF LDAPResult,
responseValue [11] OCTET STRING OPTIONAL }
where the responseName is not present, and the responseValue contain
a transaction identifier when the result is SUCCESS.| Modifier and Type | Field and Description |
|---|---|
private byte[] |
transactionId
The transaction ID if the request was successful
|
responseName| Constructor and Description |
|---|
StartTransactionResponseImpl()
Create a new StartTransactionResponseImpl instance
|
StartTransactionResponseImpl(byte[] transactionId)
Create a new StartTransactionResponseImpl instance
|
StartTransactionResponseImpl(int messageId,
byte[] transactionId)
Create a new StartTransactionResponseImpl instance
|
StartTransactionResponseImpl(int messageId,
org.apache.directory.api.ldap.model.message.ResultCodeEnum resultCode,
byte[] transactionId)
Create a new StartTransactionResponseImpl object
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte[] |
getTransactionId() |
int |
hashCode() |
void |
setTransactionId(byte[] transactionId) |
String |
toString() |
getResponseName, setResponseNamegetLdapResultaddAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetResponseName, setResponseNameprivate byte[] transactionId
public StartTransactionResponseImpl(int messageId,
org.apache.directory.api.ldap.model.message.ResultCodeEnum resultCode,
byte[] transactionId)
messageId - The messageIdresultCode - the result codetransactionId - The transaction IDpublic StartTransactionResponseImpl(int messageId,
byte[] transactionId)
messageId - The request's messageIdtransactionId - The transaction IDpublic StartTransactionResponseImpl(byte[] transactionId)
transactionId - The transaction IDpublic StartTransactionResponseImpl()
public int hashCode()
hashCode in class org.apache.directory.api.ldap.model.message.AbstractExtendedResponsepublic boolean equals(Object obj)
equals in class org.apache.directory.api.ldap.model.message.AbstractExtendedResponseObject.equals(Object)public byte[] getTransactionId()
getTransactionId in interface StartTransactionResponsepublic void setTransactionId(byte[] transactionId)
public String toString()
toString in class org.apache.directory.api.ldap.model.message.AbstractExtendedResponseObject.toString()Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.