|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.SIRAPRISE.messages.ServerMessageType
be.SIRAPRISE.messages.ServerInputMessageType
be.SIRAPRISE.messages.EndTransactionMessageType
be.SIRAPRISE.messages.EndTransactionMessageTypeV1_1
public final class EndTransactionMessageTypeV1_1
EndTransactionMessageTypeV1_1 is V1_1 of the EndTransactionMessageType.
This message has the following fields :
Zone | Format | Length | Description |
---|---|---|---|
COMMIT | INTEGER | 1 | 1 if the transaction is to be committed, 0 if it is to be rolled back. |
TRANSACTIONID | INTEGER | 8 | The server-side ID of the transaction to be ended. |
Field Summary |
---|
Fields inherited from class be.SIRAPRISE.messages.EndTransactionMessageType |
---|
MESSAGETYPEID |
Method Summary | |
---|---|
EndTransactionMessage |
message(boolean commit,
long transactionID)
Creates an EndTransaction message corresponding to the version of this message type, holding the given commit flag and transaction ID. |
Methods inherited from class be.SIRAPRISE.messages.EndTransactionMessageType |
---|
message |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public EndTransactionMessage message(boolean commit, long transactionID)
EndTransactionMessageType
message
in class EndTransactionMessageType
commit
- true if the transaction to be ended must be committed, false if it is to be rolled back.transactionID
- The server-side ID of the transaction to be ended. Negative values indicate the "current" transaction, i.e. the lowest transaction in the current nested transaction structure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |