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.ServiceInterface implemented by all the classes that can provide containers to a ContainerListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanProvideContainer(org.yamcs.protobuf.Yamcs.NamedObjectId containerId)Returns whether or not a given container can be provided by this providerContainergetContainer(org.yamcs.protobuf.Yamcs.NamedObjectId containerId)Returns the containerDefinition corresponding to the itemIdvoidsetContainerListener(ContainerListener containerListener)voidstartProviding(SequenceContainer container)voidstartProvidingAllContainers()Start providing all known containersvoidstopProviding(SequenceContainer container)
-
-
-
Method Detail
-
setContainerListener
void setContainerListener(ContainerListener containerListener)
-
startProviding
void startProviding(SequenceContainer container)
-
stopProviding
void stopProviding(SequenceContainer container)
-
startProvidingAllContainers
void startProvidingAllContainers()
Start providing all known containers
-
canProvideContainer
boolean canProvideContainer(org.yamcs.protobuf.Yamcs.NamedObjectId containerId)
Returns whether or not a given container can be provided by this provider
-
getContainer
Container getContainer(org.yamcs.protobuf.Yamcs.NamedObjectId containerId) throws InvalidIdentification
Returns the containerDefinition corresponding to the itemId- Throws:
InvalidIdentification
-
-