com.j_spaces.jms
Class GSTextMessageImpl

java.lang.Object
  extended by com.j_spaces.jms.GSMessageImpl
      extended by com.j_spaces.jms.GSTextMessageImpl
All Implemented Interfaces:
Serializable, Comparable, Message, TextMessage

public class GSTextMessageImpl
extends GSMessageImpl
implements TextMessage

Implements the javax.jms.TextMessage interface.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.j_spaces.jms.GSMessageImpl
BODY_NUM, BODY_STR_NAME, BOOLEAN_CLASS_NAME, BYTES, CONTROL_MESSAGE, DESTINATION_CLASS_NAME, HASHMAP_CLASS_NAME, INTEGER_CLASS_NAME, JMS_CORRELATION_ID, JMS_CORRELATION_ID_NUM, JMS_DELIVERY_MODE, JMS_DELIVERY_MODE_NUM, JMS_DESTINATION, JMS_DESTINATION_NUM, JMS_EXPIRATION, JMS_EXPIRATION_NUM, JMS_GSPRODUCER_KEY_PROP_NAME, JMS_GSPRODUCER_KEY_PROP_NUM, JMS_GSTTL_KEY_PROP_NAME, JMS_GSTTL_PROP_NUM, JMS_MESSAGE_ID, JMS_MESSAGE_ID_NUM, JMS_PRIORITY, JMS_PRIORITY_NUM, JMS_REDELIVERED, JMS_REDELIVERED_NUM, JMS_REPLY_TO, JMS_REPLY_TO_NUM, JMS_TIMESTAMP, JMS_TIMESTAMP_NUM, JMS_TYPE, JMS_TYPE_NUM, JMSX_APPID, JMSX_GROUPID, JMSX_GROUPID_PROP_NUM, JMSX_GROUPSEQ, JMSX_GROUPSEQ_PROP_NUM, JMSX_RCV_TIMESTEMP, JMSX_USERID, JMSX_USERID_PROP_NUM, LONG_CLASS_NAME, m_deletedDest, m_denied, m_expired, m_ExtEntryFieldsNames, m_ExtEntryFieldsTypes, m_notWriteable, m_replyToId, m_totalNumOfValues, m_undeliverable, MAP, OBJECT, OBJECT_CLASS_NAME, PROPERTIES_NUM, PROPERTIES_STR_NAME, reservedNumOfValues, SIMPLE, STREAM, STRING_CLASS_NAME, TEXT
 
Fields inherited from interface javax.jms.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Constructor Summary
GSTextMessageImpl()
          Instanciates a bright new TextMessage.
GSTextMessageImpl(GSSessionImpl session, String text)
          Instanciates a bright new TextMessage.
 
Method Summary
 String getText()
           
 void setText(String string)
           
 String toString()
           
 
Methods inherited from class com.j_spaces.jms.GSMessageImpl
acknowledge, buildBodyFromBytes, clearBody, clearProperties, compareTo, convertBodyToBytes, getBodyAsBytes, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getMapBody, getObjectProperty, getObjProp, getOptionalHeader, getProperties, getPropertyNames, getShortProperty, getStreamBody, getStringProperty, getTextBody, getToDestination, isBodyRO, isValid, propertyExists, readBody, setBodyAsBytes, setBodyAsBytes, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setMapBody, setObjectProperty, setOptionalHeader, setShortProperty, setStreamBody, setStringProperty, setTextBody, setToDestination, writeBody
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.Message
acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
 

Constructor Detail

GSTextMessageImpl

public GSTextMessageImpl()
                  throws JMSException
Instanciates a bright new TextMessage.

Throws:
JMSException

GSTextMessageImpl

public GSTextMessageImpl(GSSessionImpl session,
                         String text)
                  throws JMSException
Instanciates a bright new TextMessage.

Parameters:
session - The consuming session.
text -
Throws:
JMSException
Method Detail

setText

public void setText(String string)
             throws MessageNotWriteableException
Specified by:
setText in interface TextMessage
Throws:
MessageNotWriteableException
See Also:
TextMessage.setText(java.lang.String)

getText

public String getText()
Specified by:
getText in interface TextMessage
See Also:
TextMessage.getText()

toString

public String toString()
Overrides:
toString in class GSMessageImpl