org.jboss.jms.tx
Class MessagingXid

java.lang.Object
  extended byorg.jboss.jms.tx.MessagingXid
All Implemented Interfaces:
java.io.Serializable, Streamable, javax.transaction.xa.Xid

public class MessagingXid
extends java.lang.Object
implements javax.transaction.xa.Xid, java.io.Serializable, Streamable

Xid implementation

Version:
$Revision 1.1 $
Author:
Tim Fox, Juha Lindfors
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.transaction.xa.Xid
MAXBQUALSIZE, MAXGTRIDSIZE
 
Constructor Summary
MessagingXid()
           
MessagingXid(byte[] branchQualifier, int formatId, byte[] globalTransactionId)
           
MessagingXid(javax.transaction.xa.Xid other)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 byte[] getBranchQualifier()
           
 int getFormatId()
           
 byte[] getGlobalTransactionId()
           
 int hashCode()
           
 void read(java.io.DataInputStream in)
           
 java.lang.String toString()
           
 void write(java.io.DataOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessagingXid

public MessagingXid()

MessagingXid

public MessagingXid(byte[] branchQualifier,
                    int formatId,
                    byte[] globalTransactionId)

MessagingXid

public MessagingXid(javax.transaction.xa.Xid other)
Method Detail

getBranchQualifier

public byte[] getBranchQualifier()
Specified by:
getBranchQualifier in interface javax.transaction.xa.Xid

getFormatId

public int getFormatId()
Specified by:
getFormatId in interface javax.transaction.xa.Xid

getGlobalTransactionId

public byte[] getGlobalTransactionId()
Specified by:
getGlobalTransactionId in interface javax.transaction.xa.Xid

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object other)

toString

public java.lang.String toString()

read

public void read(java.io.DataInputStream in)
          throws java.lang.Exception
Specified by:
read in interface Streamable
Throws:
java.lang.Exception

write

public void write(java.io.DataOutputStream out)
           throws java.lang.Exception
Specified by:
write in interface Streamable
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.