|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atomikos.icatch.msg.AbstractMessage
public abstract class AbstractMessage
A base implementation of all message classes.
| Field Summary |
|---|
| Fields inherited from interface com.atomikos.icatch.msg.TransactionMessage |
|---|
COMMIT_MESSAGE, ERROR_MESSAGE, FORGET_MESSAGE, FORMAT_SOAP, FORMAT_UNKNOWN, PREPARE_MESSAGE, PREPARED_MESSAGE, REGISTER_MESSAGE, REGISTERED_MESSAGE, REPLAY_MESSAGE, ROLLBACK_MESSAGE, STATE_MESSAGE |
| Constructor Summary | |
|---|---|
AbstractMessage(int protocol,
int format,
Object targetAddress,
String targetURI,
Object senderAddress,
String senderURI)
Create a new instance. |
|
| Method Summary | |
|---|---|
int |
getFormat()
Get the format identifier. |
int |
getProtocol()
Get the protocol identifier. |
Object |
getSenderAddress()
Get the sender address for the message. |
String |
getSenderURI()
Get the sender URI for the message. |
Object |
getTargetAddress()
Get the destination address of the message. |
String |
getTargetURI()
Get the URI of the target object of the message. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.atomikos.icatch.msg.TransactionMessage |
|---|
getMessageType |
| Constructor Detail |
|---|
public AbstractMessage(int protocol,
int format,
Object targetAddress,
String targetURI,
Object senderAddress,
String senderURI)
protocol - The commit protocol.format - The format of the message.targetAddress - Where to send it.targetURI - For which target object this is.senderAddress - Who is sending this.senderURI - Which object is sending this.| Method Detail |
|---|
public int getProtocol()
TransactionMessage
getProtocol in interface TransactionMessageTransactionMessagepublic int getFormat()
TransactionMessage
getFormat in interface TransactionMessageTransactionMessagepublic Object getTargetAddress()
TransactionMessage
getTargetAddress in interface TransactionMessageTransactionMessagepublic String getTargetURI()
TransactionMessage
getTargetURI in interface TransactionMessageTransactionMessagepublic Object getSenderAddress()
TransactionMessage
getSenderAddress in interface TransactionMessageTransactionMessagepublic String getSenderURI()
TransactionMessage
getSenderURI in interface TransactionMessageTransactionMessagepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||