be.SIRAPRISE.messages
Class TransactionEndedMessageType

java.lang.Object
  extended by be.SIRAPRISE.messages.ServerMessageType
      extended by be.SIRAPRISE.messages.TransactionEndedMessageType
Direct Known Subclasses:
TransactionEndedMessageTypeV1_0

public abstract class TransactionEndedMessageType
extends ServerMessageType

The TransactionEndedMessageType is the type of message sent by a server in response to an EndTransaction message

Author:
Erwin Smout

Field Summary
static int MESSAGETYPEID
          Comment for MESSAGETYPEID
 
Method Summary
abstract  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
 

Field Detail

MESSAGETYPEID

public static final int MESSAGETYPEID
Comment for MESSAGETYPEID

See Also:
Constant Field Values
Method Detail

message

public abstract TransactionEndedMessage message(boolean commit)
Factory method for getting messages of this version of the message type

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