public class StartTransactionResponseImpl extends 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.
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,
ResultCodeEnum resultCode,
byte[] transactionId)
Create a new StartTransactionResponseImpl object
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Checks to see if an object equals this ExtendedRequest.
|
byte[] |
getTransactionId() |
int |
hashCode() |
void |
setTransactionId(byte[] transactionId) |
String |
toString()
Get a String representation of an ExtendedResponse
|
getResponseName, setResponseName
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
getResponseName, setResponseName
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
public StartTransactionResponseImpl(int messageId, 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 AbstractExtendedResponse
Object.hashCode()
public boolean equals(Object obj)
AbstractExtendedResponse
equals
in class AbstractExtendedResponse
obj
- the object to be checked for equalityObject.equals(Object)
public byte[] getTransactionId()
getTransactionId
in interface StartTransactionResponse
public void setTransactionId(byte[] transactionId)
public String toString()
AbstractExtendedResponse
toString
in class AbstractExtendedResponse
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.