| Modifier and Type | Method and Description |
|---|---|
| public Set | Returns: the non-null but possibly empty set of qualifiers associated with this TopicThe qualifiers associated with this Topic. |
| public Type | Returns: the Type of this topic. Will not return nullGets the type of the topic, in order to match the message to subscribers |
| public Topic | |
| public <U> Topic | |
| public void | publish(T
The non-null message to send to all current subscribers message)Publishes a message to all subscribers |
| public Topic | Returns: An Topic restricted with the given qualifiersThe qualifiers to further restrict this Topic to qualifiers)A set of qualifiers to further restrict this Topic to. |
| getTopicQualifiers | back to summary |
|---|---|
| public Set The qualifiers associated with this Topic. Messages should only be distributed to subscribers that have matching qualifiers
| |
| getTopicType | back to summary |
|---|---|
| public Type getTopicType() Gets the type of the topic, in order to match the message to subscribers
| |
| named | back to summary |
|---|---|
| public Topic Returns an Topic that is further qualified with the given name | |
| ofType | back to summary |
|---|---|
| public <U> Topic Returns an Topic that is of the given type. This type must be more specific than the type of this Topic | |
| publish | back to summary |
|---|---|
| public void publish(T message) Publishes a message to all subscribers
| |
| qualifiedWith | back to summary |
|---|---|
| public Topic A set of qualifiers to further restrict this Topic to.
| |