class cMsgServerSubscribeAndGetter
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
(package private) cMsgCallbackAdapter |
cb
Callback for this subscription.
|
(package private) cMsgNotifier |
notifier
Wait on this object which tells us when a matching message has been sent
to a subscribeAndGet so we can notify bridges to cancel their subscriptions
(which are used to implement remote subAndGets).
|
(package private) cMsgServerSubscribeInfo |
sub
Contains information about this particular subscription.
|
(package private) java.util.Set<cMsgServerSubscribeInfo> |
subscriptions
Contains all subscriptions made by this server.
|
Constructor and Description |
---|
cMsgServerSubscribeAndGetter(cMsgNameServer nameServer,
cMsgNotifier notifier,
cMsgCallbackAdapter cb,
java.util.Set<cMsgServerSubscribeInfo> subscriptions,
cMsgServerSubscribeInfo sub)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
cMsgNotifier notifier
java.util.Set<cMsgServerSubscribeInfo> subscriptions
cMsgServerSubscribeInfo sub
cMsgCallbackAdapter cb
public cMsgServerSubscribeAndGetter(cMsgNameServer nameServer, cMsgNotifier notifier, cMsgCallbackAdapter cb, java.util.Set<cMsgServerSubscribeInfo> subscriptions, cMsgServerSubscribeInfo sub)
nameServer
- name servernotifier
- notifiercb
- callbacksubscriptions
- set of subscriptionssub
- server client's subscription