Package jadex.base.gui
Class CMSUpdateHandler
- java.lang.Object
- 
- jadex.base.gui.CMSUpdateHandler
 
- 
 public class CMSUpdateHandler extends java.lang.ObjectA change handler which receives remote CMS events and delegates to the registered listeners.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IExternalAccessaccessThe local external access.protected java.util.Map<IComponentIdentifier,Tuple2<ISubscriptionIntermediateFuture<CMSStatusEvent>,java.lang.Integer>>listenersThe subscriptions for the remote CMSs (cms cid->(sub, cnt)).
 - 
Constructor SummaryConstructors Constructor Description CMSUpdateHandler(IExternalAccess access)Create a CMS update handler.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ISubscriptionIntermediateFuture<CMSStatusEvent>addCMSListener(IComponentIdentifier cid)Add a CMS listener.IFuture<java.lang.Void>dispose()Dispose the handler for triggering remote listener removal.
 
- 
- 
- 
Field Detail- 
accessprotected IExternalAccess access The local external access.
 - 
listenersprotected java.util.Map<IComponentIdentifier,Tuple2<ISubscriptionIntermediateFuture<CMSStatusEvent>,java.lang.Integer>> listeners The subscriptions for the remote CMSs (cms cid->(sub, cnt)).
 
- 
 - 
Constructor Detail- 
CMSUpdateHandlerpublic CMSUpdateHandler(IExternalAccess access) Create a CMS update handler.
 
- 
 - 
Method Detail- 
disposepublic IFuture<java.lang.Void> dispose() Dispose the handler for triggering remote listener removal.
 - 
addCMSListenerpublic ISubscriptionIntermediateFuture<CMSStatusEvent> addCMSListener(IComponentIdentifier cid) Add a CMS listener.
 
- 
 
-