Package org.yamcs.container
Interface ContainerProvider
- All Superinterfaces:
com.google.common.util.concurrent.Service
- All Known Implementing Classes:
XtceTmProcessor
public interface ContainerProvider
extends com.google.common.util.concurrent.Service
Interface implemented by all the classes that can provide containers to a
ContainerListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service
com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canProvideContainer
(Yamcs.NamedObjectId containerId) Returns whether or not a given container can be provided by this providergetContainer
(Yamcs.NamedObjectId containerId) Returns the containerDefinition corresponding to the itemIdvoid
setContainerListener
(ContainerListener containerListener) void
startProviding
(SequenceContainer container) void
Start providing all known containersvoid
stopProviding
(SequenceContainer container) Methods inherited from interface com.google.common.util.concurrent.Service
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, failureCause, isRunning, startAsync, state, stopAsync
-
Method Details
-
setContainerListener
-
startProviding
-
stopProviding
-
startProvidingAllContainers
void startProvidingAllContainers()Start providing all known containers -
canProvideContainer
Returns whether or not a given container can be provided by this provider -
getContainer
Returns the containerDefinition corresponding to the itemId- Throws:
InvalidIdentification
-