be.SIRAPRISE.messages
Class TransactionEndedMessageTypeV1_0

java.lang.Object
  extended by be.SIRAPRISE.messages.ServerMessageType
      extended by be.SIRAPRISE.messages.TransactionEndedMessageType
          extended by be.SIRAPRISE.messages.TransactionEndedMessageTypeV1_0

public final class TransactionEndedMessageTypeV1_0
extends TransactionEndedMessageType

TransactionEndedMessageTypeV1_0 is V1_0 of the TransactionEndedMessageType.

This message has the following fields :

Zone Format Length Description
COMMIT INTEGER 1 1 if the transaction was committed, 0 if it was rolled back.

Since:
SIRA_PRISE 1.1
Author:
Erwin Smout

Field Summary
 
Fields inherited from class be.SIRAPRISE.messages.TransactionEndedMessageType
MESSAGETYPEID
 
Method Summary
 TransactionEndedMessage message(boolean commit)
          Factory method for getting messages of this version of the message type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

message

public TransactionEndedMessage message(boolean commit)
Description copied from class: TransactionEndedMessageType
Factory method for getting messages of this version of the message type

Specified by:
message in class TransactionEndedMessageType
Parameters:
commit - true if the ended transaction was also committed, false if that transaction was rolled back
Returns:
A TransactionEndedMessage of the corresponding version/type