|
||||||||||
| 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.CommitRollbackMessageType
be.SIRAPRISE.messages.CommitRollbackMessageTypeV1_1
public final class CommitRollbackMessageTypeV1_1
CommitRollbackMessageTypeV1_1 is version 1_1 of the CommitRollbackMessageType. The layout of this message is as follows.
| 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 (sub)transaction that must be either committed or rolled back. Negative values indicate "the most recently started transaction". |
| Field Summary |
|---|
| Fields inherited from class be.SIRAPRISE.messages.CommitRollbackMessageType |
|---|
MESSAGETYPEID |
| Method Summary | |
|---|---|
CommitRollbackMessage |
message(boolean commit,
long transactionID)
Gets a CommitRollbackMessage holding the request to either commit or roll back the transaction with the given ID |
| Methods inherited from class be.SIRAPRISE.messages.CommitRollbackMessageType |
|---|
message |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public CommitRollbackMessage message(boolean commit,
long transactionID)
CommitRollbackMessageType
message in class CommitRollbackMessageTypecommit - true if a commit is requested, false if a rollback is requestedtransactionID - The server-side ID of the transaction that requests to be committed or rolled back. Negative values indicate "the current transaction".
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||