public interface ParameterProvider
extends com.google.common.util.concurrent.Service
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProvide(Parameter param) |
boolean |
canProvide(Yamcs.NamedObjectId paraId)
Returns whether or not a given parameter can be provided by this provider
|
Parameter |
getParameter(Yamcs.NamedObjectId paraId)
Returns the parameterDefinition corresponding to the parameter id
|
void |
init(YProcessor processor)
Called before the startup to pass on the processor and initialize whatever needed
|
void |
setParameterListener(ParameterRequestManager parameterListener)
Send parameters to this listener.
|
void |
startProviding(Parameter paramDef)
Adds a new parameter to the list of parameters that have to provided
|
void |
startProvidingAll()
start providing all known parameters
|
void |
stopProviding(Parameter paramDef)
Removes a parameter from the list of parameters that have to be provided
|
void init(YProcessor processor) throws ConfigurationException
processor - ConfigurationExceptionvoid setParameterListener(ParameterRequestManager parameterListener)
parameterListener - void startProviding(Parameter paramDef)
paramDef - void startProvidingAll()
void stopProviding(Parameter paramDef)
paramDef - boolean canProvide(Yamcs.NamedObjectId paraId)
Parameter getParameter(Yamcs.NamedObjectId paraId) throws InvalidIdentification
paraId - - id of the parameter that is returnedInvalidIdentificationboolean canProvide(Parameter param)
Copyright © 2017 Space Applications Services. All rights reserved.