jms4spread
Class Topic
java.lang.Object
|
+--jms4spread.Topic
- public class Topic
- extends java.lang.Object
A Topic enables many recievers to recieve the same message.
Constructor Summary |
Topic(java.lang.String name)
Created a Topic |
Method Summary |
java.lang.String |
getTopicName()
Gets the name of the topic |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Topic
public Topic(java.lang.String name)
- Created a Topic
- Parameters:
name
- the name of the topic
getTopicName
public java.lang.String getTopicName()
- Gets the name of the topic
- Returns:
- topic name
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object