net.sf.dropboxmq
Class XidImpl
java.lang.Object
net.sf.dropboxmq.XidImpl
- All Implemented Interfaces:
- Xid
class XidImpl
- extends Object
- implements Xid
Created: 12 Aug 2006
- Version:
- $Revision: 211 $, $Date: 2010-11-14 14:21:24 -0700 (Sun, 14 Nov 2010) $
- Author:
- Dwayne Schultz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XidImpl
XidImpl(String encodedXid)
throws DropboxTransaction.TransactionException
- Throws:
DropboxTransaction.TransactionException
decodeBytes
static byte[] decodeBytes(String encodedBytes)
throws DropboxTransaction.TransactionException
- Throws:
DropboxTransaction.TransactionException
getFormatId
public int getFormatId()
- Specified by:
getFormatId
in interface Xid
getGlobalTransactionId
public byte[] getGlobalTransactionId()
- Specified by:
getGlobalTransactionId
in interface Xid
getBranchQualifier
public byte[] getBranchQualifier()
- Specified by:
getBranchQualifier
in interface Xid
encode
public static String encode(Xid xid)
encodeBytes
static String encodeBytes(byte[] bytes)
encodeNibble
static char encodeNibble(int nibble)
toObjectString
protected final String toObjectString()