Package org.yamcs.container
Class ContainerWithIdRequestHelper
java.lang.Object
org.yamcs.container.ContainerWithIdRequestHelper
- All Implemented Interfaces:
ContainerConsumer
This sits in front of the ContainerRequestManager and implements subscriptions based on NamedObjectId
taking care to send to the consumers the containers with the requested id.
TODO: check privileges and subscription limits
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessContainer(String link, ContainerExtractionResult cer) Processes the extracted container with additional context.voidvoidsubscribeAll(ContainerWithIdConsumer subscriber)
-
Constructor Details
-
ContainerWithIdRequestHelper
-
-
Method Details
-
subscribe
- Throws:
InvalidIdentification
-
subscribeAll
-
processContainer
Description copied from interface:ContainerConsumerProcesses the extracted container with additional context.- Specified by:
processContainerin interfaceContainerConsumer- Parameters:
link- the name of the link on which the container was received. The link name is preserved in the archive and available during the replays as well.cer- the container extraction result
-