E
- The type of message to be published to this topic.@Deprecated
public interface PRDistributedTopic<E extends java.io.Serializable>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
|
static java.lang.String |
VERSION
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addMessageListener(PRMessageListener<E> aListener)
Deprecated.
Add a subscriber to this distributed topic.
|
long |
getPublishOperationCount()
Deprecated.
Get the number of messages published to this topic.
|
long |
getReceiveOperationCount()
Deprecated.
Get the number of messages received on this topic.
|
void |
publish(E aMessage)
Deprecated.
Publish the specified message to all subscribers of this distributed
topic.
|
boolean |
removeMessageListener(java.lang.String aID)
Deprecated.
Remove the specified message listener (by ID) for this topic.
|
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
void publish(E aMessage)
aMessage
- java.lang.String addMessageListener(PRMessageListener<E> aListener)
PRMessageListener
onMessage method
with the PRMessage received.aListener
- boolean removeMessageListener(java.lang.String aID)
aID
- a registration id to remove from this topic. The registration
ID can be captured as the return value of the
addMessageListener API.long getPublishOperationCount()
long getReceiveOperationCount()
Copyright © 2018 Pegasystems Inc. All Rights Reserved.