|
||||||||||
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
public abstract class EndTransactionMessageType
The EndTransactionMessageType is the type of message to be sent to the server to end a started transaction, either committing it or else rolling it back.
Field Summary | |
---|---|
static int |
MESSAGETYPEID
Comment for MESSAGETYPEID |
Method Summary | |
---|---|
EndTransactionMessage |
message(boolean commit)
Deprecated. replace with message() invocations including the transaction ID. |
abstract 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 java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MESSAGETYPEID
MESSAGETYPEID
Method Detail |
---|
public final EndTransactionMessage message(boolean commit)
commit
- true if the transaction to be ended must be committed, false if it is to be rolled back.
public abstract EndTransactionMessage message(boolean commit, long transactionID)
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 |