|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.semaine.jms.IOBase
eu.semaine.jms.sender.Sender
eu.semaine.jms.sender.XMLSender
eu.semaine.jms.sender.EmmaSender
public class EmmaSender
An abstraction of Sender for state data.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class eu.semaine.jms.IOBase |
|---|
IOBase.ConnectionStatus, IOBase.Event |
| Field Summary |
|---|
| Fields inherited from class eu.semaine.jms.sender.Sender |
|---|
datatype, period, producer, source |
| Fields inherited from class eu.semaine.jms.IOBase |
|---|
connection, exception, isConnectionStarted, jmsPassword, jmsUrl, jmsUser, session, topic, topicName |
| Constructor Summary | |
|---|---|
EmmaSender(java.lang.String topicName,
java.lang.String source)
Create a new Sender to the given topic on the default JMS server. |
|
EmmaSender(java.lang.String jmsUrl,
java.lang.String jmsUser,
java.lang.String jmsPassword,
java.lang.String topicName,
java.lang.String source)
Create a new Sender to the given topic on the given JMS server. |
|
| Method Summary |
|---|
| Methods inherited from class eu.semaine.jms.sender.XMLSender |
|---|
fillMessageProperties, sendXML, sendXML, sendXML, sendXML, sendXML, sendXML |
| Methods inherited from class eu.semaine.jms.sender.Sender |
|---|
fillMessageProperties, fillMessageProperties, getDatatype, getPeriod, getSource, getTimeToLive, initialise, isEventBased, isPeriodic, main, sendTextMessage, sendTextMessage, sendTextMessage, sendTextMessage, sendTextMessage, sendTextMessage, setEventBased, setPeriodic, setTimeToLive |
| Methods inherited from class eu.semaine.jms.IOBase |
|---|
createConnection, getConnection, getConnection, getConnectionStatus, getJMSPassword, getJMSUrl, getJMSUser, getSession, getTopic, getTopicName, isEmbeddedBroker, startConnection, useEmbeddedBroker |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmmaSender(java.lang.String topicName,
java.lang.String source)
throws JMSException
jms.url, default value tcp://localhost:61616;jms.user, default value null;jms.password, default value null.
topic - the name of the topic to send to.source - the name of the component sending the data.
java.lang.NullPointerException - if any of the parameters topicName, datatype, or source are null.
JMSException
public EmmaSender(java.lang.String jmsUrl,
java.lang.String jmsUser,
java.lang.String jmsPassword,
java.lang.String topicName,
java.lang.String source)
throws JMSException
jmsUrl - the url where to contact the JMS serverjmsUser - the username to use (can be null)jmsPassword - the password to use (can be null)topic - the name of the topic to send to.datatype - the name of the type of data being sent.source - the name of the component sending the data.
JMSException
java.lang.NullPointerException - if any of the parameters jmsUrl, topicName, datatype, or source are null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||