com.atomikos.icatch.msg
Class RegisteredMessageImp

java.lang.Object
  extended by com.atomikos.icatch.msg.AbstractMessage
      extended by com.atomikos.icatch.msg.RegisteredMessageImp
All Implemented Interfaces:
RegisteredMessage, TransactionMessage

public class RegisteredMessageImp
extends AbstractMessage
implements RegisteredMessage

Implementation of registered message.


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
RegisteredMessageImp(int protocol, int format, Object targetAddress, String targetURI, Object senderAddress, String senderURI)
           
 
Method Summary
 int getMessageType()
          Get the message type.
 
Methods inherited from class com.atomikos.icatch.msg.AbstractMessage
getFormat, getProtocol, getSenderAddress, getSenderURI, getTargetAddress, getTargetURI, 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
getFormat, getProtocol, getSenderAddress, getSenderURI, getTargetAddress, getTargetURI
 

Constructor Detail

RegisteredMessageImp

public RegisteredMessageImp(int protocol,
                            int format,
                            Object targetAddress,
                            String targetURI,
                            Object senderAddress,
                            String senderURI)
Parameters:
protocol -
format -
targetAddress -
targetURI -
senderAddress -
senderURI -
Method Detail

getMessageType

public int getMessageType()
Description copied from interface: TransactionMessage
Get the message type.

Specified by:
getMessageType in interface TransactionMessage
Returns:
int One of the predefined types.
See Also:
TransactionMessage.getMessageType()


Copyright © 2012. All Rights Reserved.