|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Dispatcher
A dispatcher of messages to some JMS connection.
Typically this uses either IO or NIO to shovel the messages down a socket as fast as possible - in either a push or pull way.
Method Summary | |
---|---|
void |
addActiveSubscription(BrokerClient client,
Subscription sub)
Add an active subscription |
void |
register(MessageContainerManager mcm)
Register the MessageContainerManager for the Dispatcher |
void |
removeActiveSubscription(BrokerClient client,
Subscription sub)
remove an active subscription |
void |
wakeup()
Called to indicate that there is work to do this will wake up a Dispatch Worker if it is waiting for messages to dispatch |
void |
wakeup(Subscription sub)
Called to indicate that there is work to do on a Subscription this will wake up a Dispatch Worker if it is waiting for messages to dispatch |
Methods inherited from interface org.activemq.service.Service |
---|
start, stop |
Method Detail |
---|
void register(MessageContainerManager mcm)
mcm
- void wakeup(Subscription sub)
sub
- the Subscription that now has messages to dispatchvoid wakeup()
void addActiveSubscription(BrokerClient client, Subscription sub)
client
- sub
- void removeActiveSubscription(BrokerClient client, Subscription sub)
client
- sub
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |