Interface StartTransactionResponse
-
- All Superinterfaces:
ExtendedResponse
,Message
,Response
,ResultResponse
- All Known Implementing Classes:
StartTransactionResponseDecorator
,StartTransactionResponseImpl
public interface StartTransactionResponse extends ExtendedResponse
The interface for Start Transaction Extended Response. It's described in RFC 5805 :ExtendedResponse ::= [APPLICATION 24] SEQUENCE { COMPONENTS OF LDAPResult, responseName [10] LDAPOID OPTIONAL, responseValue [11] OCTET STRING OPTIONAL }
where the responseName is not present, and the responseValue contain a transaction identifier when the result is SUCCESS.- Author:
- Apache Directory Project
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXTENSION_OID
The OID for the Start Transaction extended operation response.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getTransactionId()
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.ExtendedResponse
getResponseName, setResponseName
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponse
getLdapResult
-
-
-
-
Field Detail
-
EXTENSION_OID
static final String EXTENSION_OID
The OID for the Start Transaction extended operation response.- See Also:
- Constant Field Values
-
-
Method Detail
-
getTransactionId
byte[] getTransactionId()
- Returns:
- The transaction ID if success
-
-