A Message used to send messages. A Message has JMS Text Message compatible structure.
setIntProperty()/setStringProperty();
Title: Message
Copyright: Copyright (c) 2004
Company: CommunityGrids Labs at Indiana University
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Message
public Message()
Message
public Message(byte[] payload)
Message
public Message(java.lang.String payload)
Message
public Message(byte[] payload,
int topicInt,
int eventInt)
getText
public java.lang.String getText()
getBytes
public byte[] getBytes()
setText
public void setText(java.lang.String s)
setBytes
public void setBytes(byte[] s)
getTopicInt
public int getTopicInt()
setTopicInt
public void setTopicInt(int topicInt)
getEventInt
public int getEventInt()
setReplyTo
public void setReplyTo(java.lang.String replyTopic)
getReplyTo
public java.lang.String getReplyTo()
setEventInt
public void setEventInt(int eventInt)
setIntProperty
public void setIntProperty(java.lang.String name,
int value)
getIntProperty
public int getIntProperty(java.lang.String name)
throws HHMSException
- Throws:
HHMSException
setStringProperty
public void setStringProperty(java.lang.String name,
java.lang.String value)
getStringProperty
public java.lang.String getStringProperty(java.lang.String name)
throws HHMSException
- Throws:
HHMSException
propLength
public int propLength()