com::cosylab::acs::jms::ACSJMSMessage Class Reference

Inheritance diagram for com::cosylab::acs::jms::ACSJMSMessage:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::acs::jms::ACSJMSMessage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ACSJMSMessage (ACSJMSMessageEntity message, ContainerServicesBase cs)
 ACSJMSMessage (ContainerServicesBase cs)
String getJMSMessageID () throws JMSException
void setJMSMessageID (String arg0) throws JMSException
long getJMSTimestamp () throws JMSException
void setJMSTimestamp (long arg0) throws JMSException
byte[] getJMSCorrelationIDAsBytes () throws JMSException
void setJMSCorrelationIDAsBytes (byte[] arg0) throws JMSException
void setJMSCorrelationID (String arg0) throws JMSException
String getJMSCorrelationID () throws JMSException
Destination getJMSReplyTo () throws JMSException
void setJMSReplyTo (Destination destination) throws JMSException
Destination getJMSDestination () throws JMSException
void setJMSDestination (Destination destination) throws JMSException
int getJMSDeliveryMode () throws JMSException
void setJMSDeliveryMode (int deliveryMode) throws JMSException
boolean getJMSRedelivered () throws JMSException
void setJMSRedelivered (boolean redelivered) throws JMSException
String getJMSType () throws JMSException
void setJMSType (String type) throws JMSException
long getJMSExpiration () throws JMSException
void setJMSExpiration (long expiration) throws JMSException
int getJMSPriority () throws JMSException
void setJMSPriority (int priority) throws JMSException
void clearProperties () throws JMSException
boolean propertyExists (String name) throws JMSException
boolean getBooleanProperty (String name) throws JMSException
byte getByteProperty (String arg0) throws JMSException
short getShortProperty (String arg0) throws JMSException
int getIntProperty (String name) throws JMSException
long getLongProperty (String arg0) throws JMSException
float getFloatProperty (String arg0) throws JMSException
double getDoubleProperty (String arg0) throws JMSException
String getStringProperty (String name) throws JMSException
Object getObjectProperty (String arg0) throws JMSException
Enumeration getPropertyNames () throws JMSException
void setBooleanProperty (String arg0, boolean arg1) throws JMSException
void setByteProperty (String arg0, byte arg1) throws JMSException
void setShortProperty (String arg0, short arg1) throws JMSException
void setIntProperty (String arg0, int arg1) throws JMSException
void setLongProperty (String arg0, long arg1) throws JMSException
void setFloatProperty (String arg0, float arg1) throws JMSException
void setDoubleProperty (String name, double value) throws JMSException
void setStringProperty (String name, String value) throws JMSException
void setObjectProperty (String name, Object value) throws JMSException
void acknowledge () throws JMSException
void clearBody () throws JMSException
ACSJMSMessageEntity getEntity ()

Protected Attributes

ACSJMSMessageEntity entity

Private Member Functions

int findProperty (String name, boolean create)

Private Attributes

Destination destination
ContainerServicesBase containerServices

Detailed Description

Author:
kzagar

To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments


Constructor & Destructor Documentation

com::cosylab::acs::jms::ACSJMSMessage::ACSJMSMessage ( ACSJMSMessageEntity  message,
ContainerServicesBase  cs 
) [inline]
Parameters:
message 

References containerServices, and entity.

com::cosylab::acs::jms::ACSJMSMessage::ACSJMSMessage ( ContainerServicesBase  cs  )  [inline]

References containerServices, and entity.


Member Function Documentation

void com::cosylab::acs::jms::ACSJMSMessage::acknowledge (  )  throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::clearBody (  )  throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::clearProperties (  )  throws JMSException [inline]
int com::cosylab::acs::jms::ACSJMSMessage::findProperty ( String  name,
boolean  create 
) [inline, private]

Find a message's property in the IDL structure by name, creating it if doesn't exist and if so specified.

Parameters:
name The name of the property to look for.
create true if the property is to be created.
Returns:
The index of the property with the given name in the array. -1 if the property was not found.

References containerServices, entity, and alma::acs::container::ContainerServicesBase::getAdvancedContainerServices().

Referenced by getBooleanProperty(), getIntProperty(), getStringProperty(), propertyExists(), setObjectProperty(), and setStringProperty().

boolean com::cosylab::acs::jms::ACSJMSMessage::getBooleanProperty ( String  name  )  throws JMSException [inline]
byte com::cosylab::acs::jms::ACSJMSMessage::getByteProperty ( String  arg0  )  throws JMSException [inline]
double com::cosylab::acs::jms::ACSJMSMessage::getDoubleProperty ( String  arg0  )  throws JMSException [inline]
ACSJMSMessageEntity com::cosylab::acs::jms::ACSJMSMessage::getEntity (  )  [inline]
Returns:

.property name="entity"

References entity.

Referenced by alma::acsjms::test::MessageTest::testACSJMSMessage(), and alma::acsjms::test::MessageTest::testEntity().

float com::cosylab::acs::jms::ACSJMSMessage::getFloatProperty ( String  arg0  )  throws JMSException [inline]
int com::cosylab::acs::jms::ACSJMSMessage::getIntProperty ( String  name  )  throws JMSException [inline]
String com::cosylab::acs::jms::ACSJMSMessage::getJMSCorrelationID (  )  throws JMSException [inline]
byte [] com::cosylab::acs::jms::ACSJMSMessage::getJMSCorrelationIDAsBytes (  )  throws JMSException [inline]
int com::cosylab::acs::jms::ACSJMSMessage::getJMSDeliveryMode (  )  throws JMSException [inline]

References entity.

Destination com::cosylab::acs::jms::ACSJMSMessage::getJMSDestination (  )  throws JMSException [inline]

References destination.

long com::cosylab::acs::jms::ACSJMSMessage::getJMSExpiration (  )  throws JMSException [inline]

References entity.

String com::cosylab::acs::jms::ACSJMSMessage::getJMSMessageID (  )  throws JMSException [inline]
int com::cosylab::acs::jms::ACSJMSMessage::getJMSPriority (  )  throws JMSException [inline]

References entity.

boolean com::cosylab::acs::jms::ACSJMSMessage::getJMSRedelivered (  )  throws JMSException [inline]

References entity.

Destination com::cosylab::acs::jms::ACSJMSMessage::getJMSReplyTo (  )  throws JMSException [inline]
long com::cosylab::acs::jms::ACSJMSMessage::getJMSTimestamp (  )  throws JMSException [inline]
String com::cosylab::acs::jms::ACSJMSMessage::getJMSType (  )  throws JMSException [inline]

References entity.

long com::cosylab::acs::jms::ACSJMSMessage::getLongProperty ( String  arg0  )  throws JMSException [inline]
Object com::cosylab::acs::jms::ACSJMSMessage::getObjectProperty ( String  arg0  )  throws JMSException [inline]
Enumeration com::cosylab::acs::jms::ACSJMSMessage::getPropertyNames (  )  throws JMSException [inline]
short com::cosylab::acs::jms::ACSJMSMessage::getShortProperty ( String  arg0  )  throws JMSException [inline]
String com::cosylab::acs::jms::ACSJMSMessage::getStringProperty ( String  name  )  throws JMSException [inline]
boolean com::cosylab::acs::jms::ACSJMSMessage::propertyExists ( String  name  )  throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setBooleanProperty ( String  arg0,
boolean  arg1 
) throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setByteProperty ( String  arg0,
byte  arg1 
) throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setDoubleProperty ( String  name,
double  value 
) throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setFloatProperty ( String  arg0,
float  arg1 
) throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setIntProperty ( String  arg0,
int  arg1 
) throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setJMSCorrelationID ( String  arg0  )  throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setJMSCorrelationIDAsBytes ( byte[]  arg0  )  throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setJMSDeliveryMode ( int  deliveryMode  )  throws JMSException [inline]

References entity.

void com::cosylab::acs::jms::ACSJMSMessage::setJMSDestination ( Destination  destination  )  throws JMSException [inline]

References destination.

void com::cosylab::acs::jms::ACSJMSMessage::setJMSExpiration ( long  expiration  )  throws JMSException [inline]

References entity.

void com::cosylab::acs::jms::ACSJMSMessage::setJMSMessageID ( String  arg0  )  throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setJMSPriority ( int  priority  )  throws JMSException [inline]

References entity.

void com::cosylab::acs::jms::ACSJMSMessage::setJMSRedelivered ( boolean  redelivered  )  throws JMSException [inline]

References entity.

void com::cosylab::acs::jms::ACSJMSMessage::setJMSReplyTo ( Destination  destination  )  throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setJMSTimestamp ( long  arg0  )  throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setJMSType ( String  type  )  throws JMSException [inline]

References entity.

void com::cosylab::acs::jms::ACSJMSMessage::setLongProperty ( String  arg0,
long  arg1 
) throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setObjectProperty ( String  name,
Object  value 
) throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setShortProperty ( String  arg0,
short  arg1 
) throws JMSException [inline]
void com::cosylab::acs::jms::ACSJMSMessage::setStringProperty ( String  name,
String  value 
) throws JMSException [inline]

Member Data Documentation

Referenced by ACSJMSMessage(), and findProperty().

ACSJMSMessageEntity com::cosylab::acs::jms::ACSJMSMessage::entity [protected]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2