tppt.xopen
Class Message

java.lang.Object
  |
  +--tppt.xopen.Message

public class Message
extends java.lang.Object

Message defines the serverl global constants that used to indicate certain circumstance.

Version:
2.0
Author:
Jodie Wu

Field Summary
static int RM_STATUS_COMMIT
          This constant indicates that xa_commit() is called.
static int RM_STATUS_ROLLBACK
          This constant indicates that xa_rollback() is called.
static int RM_STATUS_WAIT
          This constant indicates that the RM is waiting for TM to call xa_commit() or xa_rollback.
static int TM_VOTE_ABORT
          This constant returns from RM to TM when it votes abort.
static int TM_VOTE_READY
          This constant returns from RM to TM when it votes ready.
 
Constructor Summary
Message()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

TM_VOTE_READY

public static final int TM_VOTE_READY
This constant returns from RM to TM when it votes ready.

TM_VOTE_ABORT

public static final int TM_VOTE_ABORT
This constant returns from RM to TM when it votes abort.

RM_STATUS_WAIT

public static final int RM_STATUS_WAIT
This constant indicates that the RM is waiting for TM to call xa_commit() or xa_rollback.

RM_STATUS_COMMIT

public static final int RM_STATUS_COMMIT
This constant indicates that xa_commit() is called.

RM_STATUS_ROLLBACK

public static final int RM_STATUS_ROLLBACK
This constant indicates that xa_rollback() is called.
Constructor Detail

Message

public Message()