public class ClusterQueueTriadActor extends ClusterQueueActor
Constructor and Description |
---|
ClusterQueueTriadActor(CloudServer server) |
Modifier and Type | Method and Description |
---|---|
protected FileQueueStore |
getStore() |
void |
pollQuery(long id,
java.lang.String to,
java.lang.String from,
PollQuery poll) |
void |
processSubscribeTopic(long id,
java.lang.String to,
java.lang.String from,
SubscribeTopic msg)
Registers Topic Subscriber's Jabber Id in to the Triad Cache.
|
void |
processTriadTopicMessage(java.lang.String to,
java.lang.String from,
TriadTopicMessage msg)
Processes the messages published by the Topic publisher.
|
void |
start() |
void |
stop() |
void |
triadRequest(long id,
java.lang.String to,
java.lang.String from,
TriadReceiveQuery query)
Queries a queue message for a triad server.
|
void |
triadSendQueue(long id,
java.lang.String to,
java.lang.String from,
TriadSendMessage msg)
Receives a queue message by a triad server, to be forwarded to the
destination server.
|
createMessageSender, processTopicMessage
dbgId, getBamSender, getMailboxType, getManagedBroker, getPod, registerActor
getActor, getAddress, getBroker, getMailbox, getSender, setAddress, setBroker, setMailbox
isClosed, message, messageError, query, queryError, queryResult, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isClosed, message, messageError, query, queryError, queryResult
public ClusterQueueTriadActor(CloudServer server)
public void start()
start
in class ClusterQueueActor
public void stop()
stop
in class ClusterQueueActor
protected FileQueueStore getStore()
@Query public void triadSendQueue(long id, java.lang.String to, java.lang.String from, TriadSendMessage msg)
@Query public void pollQuery(long id, java.lang.String to, java.lang.String from, PollQuery poll)
@Query public void triadRequest(long id, java.lang.String to, java.lang.String from, TriadReceiveQuery query)
@Query public void processSubscribeTopic(long id, java.lang.String to, java.lang.String from, SubscribeTopic msg)
@Message public void processTriadTopicMessage(java.lang.String to, java.lang.String from, TriadTopicMessage msg)