be.SIRAPRISE.messages
Class EndTransactionMessage

java.lang.Object
  extended by be.SIRAPRISE.messages.ServerMessage
      extended by be.SIRAPRISE.messages.ServerInputMessage
          extended by be.SIRAPRISE.messages.EndTransactionMessage

public abstract class EndTransactionMessage
extends ServerInputMessage

Author:
Erwin Smout

Method Summary
 long getTransactionID()
          Gets The server-side ID of the transaction to be ended.
 boolean isCommit()
          Gets the commit flag
 
Methods inherited from class be.SIRAPRISE.messages.ServerMessage
getMessageTypeID, readMessage, sendMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTransactionID

public final long getTransactionID()
Gets The server-side ID of the transaction to be ended. Negative values indicate the "current" transaction, i.e. the lowest nested transaction in the current transaction structure.

Returns:
The server-side ID of the transaction to be ended. Negative values indicate the "current" transaction, i.e. the lowest nested transaction in the current transaction structure.

isCommit

public final boolean isCommit()
Gets the commit flag

Returns:
true if the transaction should be committed prior to ending it