Package org.objectweb.joram.mom.proxies
Class Xid
- java.lang.Object
-
- org.objectweb.joram.mom.proxies.Xid
-
- All Implemented Interfaces:
Encodable,Serializable
class Xid extends Object implements Serializable, Encodable
TheXidinternal class is a utility class representing a global transaction identifier.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) byte[]bq(package private) intfi(package private) byte[]gtiprivate static longserialVersionUIDDefine serialVersionUID for interoperability.-
Fields inherited from interface fr.dyade.aaa.common.encoding.Encodable
BOOLEAN_ENCODED_SIZE, BYTE_ENCODED_SIZE, DOUBLE_ENCODED_SIZE, FLOAT_ENCODED_SIZE, INT_ENCODED_SIZE, LONG_ENCODED_SIZE, SHORT_ENCODED_SIZE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(Decoder decoder)Decodes the content of this objectvoidencode(Encoder encoder)Encodes the content of this objectbooleanequals(Object o)intgetEncodableClassId()Returns a unique class identifier.intgetEncodedSize()Returns the size of the byte array that results from the encoding of this object.inthashCode()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Define serialVersionUID for interoperability.- See Also:
- Constant Field Values
-
bq
byte[] bq
-
fi
int fi
-
gti
byte[] gti
-
-
Method Detail
-
getEncodableClassId
public int getEncodableClassId()
Description copied from interface:EncodableReturns a unique class identifier.- Specified by:
getEncodableClassIdin interfaceEncodable- Returns:
- a unique class identifier
-
getEncodedSize
public int getEncodedSize() throws ExceptionDescription copied from interface:EncodableReturns the size of the byte array that results from the encoding of this object.- Specified by:
getEncodedSizein interfaceEncodable- Returns:
- the size of the encoded byte array
- Throws:
Exception- if an error occurs
-
encode
public void encode(Encoder encoder) throws Exception
Description copied from interface:EncodableEncodes the content of this object
-
-