org.codehaus.wadi.gridstate.jgroups
Class JGroupsObjectMessage

java.lang.Object
  extended byorg.codehaus.wadi.gridstate.jgroups.JGroupsObjectMessage
All Implemented Interfaces:
Message, ObjectMessage, Serializable

public class JGroupsObjectMessage
extends Object
implements ObjectMessage, Serializable

See Also:
Serialized Form

Field Summary
protected  org.jgroups.Address _destination
           
protected  String _incomingCorrelationId
           
protected  Serializable _letter
           
protected  String _outgoingCorrelationId
           
protected  org.jgroups.Address _replyTo
           
 
Fields inherited from interface javax.jms.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Constructor Summary
JGroupsObjectMessage()
           
 
Method Summary
 void acknowledge()
           
 void clearBody()
           
 void clearProperties()
           
 boolean getBooleanProperty(String arg0)
           
 byte getByteProperty(String arg0)
           
 double getDoubleProperty(String arg0)
           
 float getFloatProperty(String arg0)
           
 String getIncomingCorrelationId()
           
 int getIntProperty(String arg0)
           
 String getJMSCorrelationID()
           
 byte[] getJMSCorrelationIDAsBytes()
           
 int getJMSDeliveryMode()
           
 Destination getJMSDestination()
           
 long getJMSExpiration()
           
 String getJMSMessageID()
           
 int getJMSPriority()
           
 boolean getJMSRedelivered()
           
 Destination getJMSReplyTo()
           
 long getJMSTimestamp()
           
 String getJMSType()
           
 long getLongProperty(String arg0)
           
 Serializable getObject()
           
 Object getObjectProperty(String arg0)
           
 String getOutgoingCorrelationId()
           
 Enumeration getPropertyNames()
           
 short getShortProperty(String arg0)
           
 String getStringProperty(String arg0)
           
 boolean propertyExists(String arg0)
           
 void setBooleanProperty(String arg0, boolean arg1)
           
 void setByteProperty(String arg0, byte arg1)
           
 void setDoubleProperty(String arg0, double arg1)
           
 void setFloatProperty(String arg0, float arg1)
           
 void setIncomingCorrelationId(String correlationId)
           
 void setIntProperty(String arg0, int arg1)
           
 void setJMSCorrelationID(String arg0)
           
 void setJMSCorrelationIDAsBytes(byte[] arg0)
           
 void setJMSDeliveryMode(int arg0)
           
 void setJMSDestination(Destination destination)
           
 void setJMSExpiration(long arg0)
           
 void setJMSMessageID(String arg0)
           
 void setJMSPriority(int arg0)
           
 void setJMSRedelivered(boolean arg0)
           
 void setJMSReplyTo(Destination destination)
           
 void setJMSTimestamp(long arg0)
           
 void setJMSType(String arg0)
           
 void setLongProperty(String arg0, long arg1)
           
 void setObject(Serializable letter)
           
 void setObjectProperty(String arg0, Object arg1)
           
 void setOutgoingCorrelationId(String correlationId)
           
 void setShortProperty(String arg0, short arg1)
           
 void setStringProperty(String arg0, String arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_replyTo

protected org.jgroups.Address _replyTo

_destination

protected org.jgroups.Address _destination

_outgoingCorrelationId

protected String _outgoingCorrelationId

_incomingCorrelationId

protected String _incomingCorrelationId

_letter

protected Serializable _letter
Constructor Detail

JGroupsObjectMessage

public JGroupsObjectMessage()
Method Detail

getIncomingCorrelationId

public String getIncomingCorrelationId()

setIncomingCorrelationId

public void setIncomingCorrelationId(String correlationId)

getOutgoingCorrelationId

public String getOutgoingCorrelationId()

setOutgoingCorrelationId

public void setOutgoingCorrelationId(String correlationId)

getObject

public Serializable getObject()
                       throws JMSException
Specified by:
getObject in interface ObjectMessage
Throws:
JMSException

setObject

public void setObject(Serializable letter)
               throws JMSException
Specified by:
setObject in interface ObjectMessage
Throws:
JMSException

getJMSReplyTo

public Destination getJMSReplyTo()
                          throws JMSException
Specified by:
getJMSReplyTo in interface Message
Throws:
JMSException

setJMSReplyTo

public void setJMSReplyTo(Destination destination)
                   throws JMSException
Specified by:
setJMSReplyTo in interface Message
Throws:
JMSException

getJMSDestination

public Destination getJMSDestination()
                              throws JMSException
Specified by:
getJMSDestination in interface Message
Throws:
JMSException

setJMSDestination

public void setJMSDestination(Destination destination)
                       throws JMSException
Specified by:
setJMSDestination in interface Message
Throws:
JMSException

getJMSMessageID

public String getJMSMessageID()
                       throws JMSException
Specified by:
getJMSMessageID in interface Message
Throws:
JMSException

setJMSMessageID

public void setJMSMessageID(String arg0)
                     throws JMSException
Specified by:
setJMSMessageID in interface Message
Throws:
JMSException

getJMSTimestamp

public long getJMSTimestamp()
                     throws JMSException
Specified by:
getJMSTimestamp in interface Message
Throws:
JMSException

setJMSTimestamp

public void setJMSTimestamp(long arg0)
                     throws JMSException
Specified by:
setJMSTimestamp in interface Message
Throws:
JMSException

getJMSCorrelationIDAsBytes

public byte[] getJMSCorrelationIDAsBytes()
                                  throws JMSException
Specified by:
getJMSCorrelationIDAsBytes in interface Message
Throws:
JMSException

setJMSCorrelationIDAsBytes

public void setJMSCorrelationIDAsBytes(byte[] arg0)
                                throws JMSException
Specified by:
setJMSCorrelationIDAsBytes in interface Message
Throws:
JMSException

setJMSCorrelationID

public void setJMSCorrelationID(String arg0)
                         throws JMSException
Specified by:
setJMSCorrelationID in interface Message
Throws:
JMSException

getJMSCorrelationID

public String getJMSCorrelationID()
                           throws JMSException
Specified by:
getJMSCorrelationID in interface Message
Throws:
JMSException

getJMSDeliveryMode

public int getJMSDeliveryMode()
                       throws JMSException
Specified by:
getJMSDeliveryMode in interface Message
Throws:
JMSException

setJMSDeliveryMode

public void setJMSDeliveryMode(int arg0)
                        throws JMSException
Specified by:
setJMSDeliveryMode in interface Message
Throws:
JMSException

getJMSRedelivered

public boolean getJMSRedelivered()
                          throws JMSException
Specified by:
getJMSRedelivered in interface Message
Throws:
JMSException

setJMSRedelivered

public void setJMSRedelivered(boolean arg0)
                       throws JMSException
Specified by:
setJMSRedelivered in interface Message
Throws:
JMSException

getJMSType

public String getJMSType()
                  throws JMSException
Specified by:
getJMSType in interface Message
Throws:
JMSException

setJMSType

public void setJMSType(String arg0)
                throws JMSException
Specified by:
setJMSType in interface Message
Throws:
JMSException

getJMSExpiration

public long getJMSExpiration()
                      throws JMSException
Specified by:
getJMSExpiration in interface Message
Throws:
JMSException

setJMSExpiration

public void setJMSExpiration(long arg0)
                      throws JMSException
Specified by:
setJMSExpiration in interface Message
Throws:
JMSException

getJMSPriority

public int getJMSPriority()
                   throws JMSException
Specified by:
getJMSPriority in interface Message
Throws:
JMSException

setJMSPriority

public void setJMSPriority(int arg0)
                    throws JMSException
Specified by:
setJMSPriority in interface Message
Throws:
JMSException

clearProperties

public void clearProperties()
                     throws JMSException
Specified by:
clearProperties in interface Message
Throws:
JMSException

propertyExists

public boolean propertyExists(String arg0)
                       throws JMSException
Specified by:
propertyExists in interface Message
Throws:
JMSException

getBooleanProperty

public boolean getBooleanProperty(String arg0)
                           throws JMSException
Specified by:
getBooleanProperty in interface Message
Throws:
JMSException

getByteProperty

public byte getByteProperty(String arg0)
                     throws JMSException
Specified by:
getByteProperty in interface Message
Throws:
JMSException

getShortProperty

public short getShortProperty(String arg0)
                       throws JMSException
Specified by:
getShortProperty in interface Message
Throws:
JMSException

getIntProperty

public int getIntProperty(String arg0)
                   throws JMSException
Specified by:
getIntProperty in interface Message
Throws:
JMSException

getLongProperty

public long getLongProperty(String arg0)
                     throws JMSException
Specified by:
getLongProperty in interface Message
Throws:
JMSException

getFloatProperty

public float getFloatProperty(String arg0)
                       throws JMSException
Specified by:
getFloatProperty in interface Message
Throws:
JMSException

getDoubleProperty

public double getDoubleProperty(String arg0)
                         throws JMSException
Specified by:
getDoubleProperty in interface Message
Throws:
JMSException

getStringProperty

public String getStringProperty(String arg0)
                         throws JMSException
Specified by:
getStringProperty in interface Message
Throws:
JMSException

getObjectProperty

public Object getObjectProperty(String arg0)
                         throws JMSException
Specified by:
getObjectProperty in interface Message
Throws:
JMSException

getPropertyNames

public Enumeration getPropertyNames()
                             throws JMSException
Specified by:
getPropertyNames in interface Message
Throws:
JMSException

setBooleanProperty

public void setBooleanProperty(String arg0,
                               boolean arg1)
                        throws JMSException
Specified by:
setBooleanProperty in interface Message
Throws:
JMSException

setByteProperty

public void setByteProperty(String arg0,
                            byte arg1)
                     throws JMSException
Specified by:
setByteProperty in interface Message
Throws:
JMSException

setShortProperty

public void setShortProperty(String arg0,
                             short arg1)
                      throws JMSException
Specified by:
setShortProperty in interface Message
Throws:
JMSException

setIntProperty

public void setIntProperty(String arg0,
                           int arg1)
                    throws JMSException
Specified by:
setIntProperty in interface Message
Throws:
JMSException

setLongProperty

public void setLongProperty(String arg0,
                            long arg1)
                     throws JMSException
Specified by:
setLongProperty in interface Message
Throws:
JMSException

setFloatProperty

public void setFloatProperty(String arg0,
                             float arg1)
                      throws JMSException
Specified by:
setFloatProperty in interface Message
Throws:
JMSException

setDoubleProperty

public void setDoubleProperty(String arg0,
                              double arg1)
                       throws JMSException
Specified by:
setDoubleProperty in interface Message
Throws:
JMSException

setStringProperty

public void setStringProperty(String arg0,
                              String arg1)
                       throws JMSException
Specified by:
setStringProperty in interface Message
Throws:
JMSException

setObjectProperty

public void setObjectProperty(String arg0,
                              Object arg1)
                       throws JMSException
Specified by:
setObjectProperty in interface Message
Throws:
JMSException

acknowledge

public void acknowledge()
                 throws JMSException
Specified by:
acknowledge in interface Message
Throws:
JMSException

clearBody

public void clearBody()
               throws JMSException
Specified by:
clearBody in interface Message
Throws:
JMSException


Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.