|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.management.ManageableComponent
flex.messaging.services.messaging.SubscriptionManager
flex.messaging.services.messaging.RemoteSubscriptionManager
public class RemoteSubscriptionManager
The RemoteSubscriptionManager monitors subscriptions from other servers, not other clients. One MessageClient instance is used for each remote server. It clientId is the address of the remote server. Using a separate instance of this class keeps the subscriptions of local clients separate from remote clients.
| Field Summary |
|---|
| Fields inherited from class flex.messaging.services.messaging.SubscriptionManager |
|---|
TYPE |
| Constructor Summary | |
|---|---|
RemoteSubscriptionManager(MessageDestination destination)
|
|
RemoteSubscriptionManager(MessageDestination destination,
boolean enableManagement)
|
|
| Method Summary | |
|---|---|
void |
addSubscriber(String flexClientId,
Object clientId,
String selector,
String subtopic)
|
long |
getSessionTimeout()
|
void |
removeClusterNode(Object address)
Called when a cluster node gets removed. |
void |
removeSubscriber(String flexClientId,
Object clientId,
String selector,
String subtopic,
String endpoint)
|
void |
setSessionTimeout(long sessionConfigValue)
|
void |
setSubscriptionState(Object state,
Object address)
Takes the selector and subtopic list from this address and for each one create a RemoteSubscription which gets registered in this table. |
void |
waitForSubscriptions(Object addr)
This method waits for some time for the receipt of the subscription state for the server with the given address. |
| Methods inherited from class flex.messaging.services.messaging.SubscriptionManager |
|---|
addSubscriber, destroy, getMessageClient, getSubscriber, getSubscriberIds, getSubscriberIds, getSubscriberIds, getSubscriptionState, getSubscriptionTimeoutMillis, registerMessageClient, releaseMessageClient, removeSubscriber, removeSubscriber, setId, setSubscriptionTimeoutMillis |
| Methods inherited from class flex.management.ManageableComponent |
|---|
getControl, getId, getParent, initialize, isManaged, isStarted, isValid, setControl, setManaged, setParent, start, stop |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteSubscriptionManager(MessageDestination destination)
public RemoteSubscriptionManager(MessageDestination destination,
boolean enableManagement)
| Method Detail |
|---|
public void setSessionTimeout(long sessionConfigValue)
public long getSessionTimeout()
public void addSubscriber(String flexClientId,
Object clientId,
String selector,
String subtopic)
public void removeSubscriber(String flexClientId,
Object clientId,
String selector,
String subtopic,
String endpoint)
public void setSubscriptionState(Object state,
Object address)
public void waitForSubscriptions(Object addr)
public void removeClusterNode(Object address)
removeClusterNode in interface RemoveNodeListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/services/messaging/RemoteSubscriptionManager.html