Package org.yamcs.studio.data.yamcs
Class YamcsSubscriptionService
java.lang.Object
org.yamcs.studio.data.yamcs.YamcsSubscriptionService
- All Implemented Interfaces:
ParameterSubscription.Listener
,PluginService
,YamcsAware
public class YamcsSubscriptionService
extends Object
implements YamcsAware, ParameterSubscription.Listener, PluginService
Keeps track of
IPV
registration state and takes care of establishing or re-establishing a bundled parameter
subscription against Yamcs.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
changeProcessor
(String instance, String processor) The globally activated processor has changed.void
dispose()
Performs and necessary cleanup.static Yamcs.NamedObjectId
identityOf
(String pvName) boolean
void
onData
(List<Pvalue.ParameterValue> values) void
void
Async adds a Yamcs PV for receiving updates.void
unregister
(IPV pv) Async removes a Yamcs PV from receiving updates.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.yamcs.studio.core.YamcsAware
changeInstance, changeProcessorInfo, onYamcsConnected, onYamcsConnecting, onYamcsConnectionFailed, onYamcsDisconnected, updateClearance, updateTime
-
Constructor Details
-
YamcsSubscriptionService
public YamcsSubscriptionService()
-
-
Method Details
-
isSubscriptionAvailable
public boolean isSubscriptionAvailable() -
getValue
-
changeProcessor
Description copied from interface:YamcsAware
The globally activated processor has changed. This is always called on the UI thread.Note that this method is not called if only the instance has changed.
- Specified by:
changeProcessor
in interfaceYamcsAware
-
register
Async adds a Yamcs PV for receiving updates. -
unregister
Async removes a Yamcs PV from receiving updates. -
dispose
public void dispose()Description copied from interface:PluginService
Performs and necessary cleanup.- Specified by:
dispose
in interfacePluginService
-
onData
- Specified by:
onData
in interfaceParameterSubscription.Listener
-
addParameterValueListener
-
onInvalidIdentification
- Specified by:
onInvalidIdentification
in interfaceParameterSubscription.Listener
-
identityOf
-