be.SIRAPRISE.messages
Class CommittedMessageTypeV1_0

java.lang.Object
  extended by be.SIRAPRISE.messages.ServerMessageType
      extended by be.SIRAPRISE.messages.CommittedMessageType
          extended by be.SIRAPRISE.messages.CommittedMessageTypeV1_0

public final class CommittedMessageTypeV1_0
extends CommittedMessageType

CommittedMessageTypeV1_0 is version 1_0 of the CommittedMessageType. The layout of this message is as follows.

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.CommittedMessageType
MESSAGETYPEID
 
Method Summary
 CommittedMessage message(boolean commit)
          Factory method for getting a message 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 CommittedMessage message(boolean commit)
Description copied from class: CommittedMessageType
Factory method for getting a message of this version of the message type

Specified by:
message in class CommittedMessageType
Parameters:
commit - true if the action undertaken was a commit, false if it was a rollback
Returns:
A CommittedMessage of this type