Package org.yamcs.http.api
Class LinksApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
disableLink
(Context ctx, DisableLinkRequest request, Observer<LinkInfo> observer) Disable a linkvoid
enableLink
(Context ctx, EnableLinkRequest request, Observer<LinkInfo> observer) Enable a linkvoid
getLink
(Context ctx, GetLinkRequest request, Observer<LinkInfo> observer) Get a linkvoid
listLinks
(Context ctx, ListLinksRequest request, Observer<ListLinksResponse> observer) List linksvoid
resetLinkCounters
(Context ctx, ResetLinkCountersRequest request, Observer<LinkInfo> observer) Reset link countersvoid
runAction
(Context ctx, RunActionRequest request, Observer<com.google.protobuf.Struct> observer) Run a link-specific action.void
subscribeLinks
(Context ctx, SubscribeLinksRequest request, Observer<LinkEvent> observer) Receive link updatesvoid
updateLink
(Context ctx, EditLinkRequest request, Observer<LinkInfo> observer) Update a linkstatic Link
verifyLink
(String instance, String linkName) Methods inherited from class org.yamcs.protobuf.links.AbstractLinksApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
LinksApi
-
-
Method Details
-
listLinks
Description copied from class:AbstractLinksApi
List links
- Specified by:
listLinks
in classAbstractLinksApi<Context>
-
subscribeLinks
public void subscribeLinks(Context ctx, SubscribeLinksRequest request, Observer<LinkEvent> observer) Description copied from class:AbstractLinksApi
Receive link updates
- Specified by:
subscribeLinks
in classAbstractLinksApi<Context>
-
getLink
Description copied from class:AbstractLinksApi
Get a link
- Specified by:
getLink
in classAbstractLinksApi<Context>
-
enableLink
Description copied from class:AbstractLinksApi
Enable a link
- Specified by:
enableLink
in classAbstractLinksApi<Context>
-
disableLink
Description copied from class:AbstractLinksApi
Disable a link
- Specified by:
disableLink
in classAbstractLinksApi<Context>
-
resetLinkCounters
public void resetLinkCounters(Context ctx, ResetLinkCountersRequest request, Observer<LinkInfo> observer) Description copied from class:AbstractLinksApi
Reset link counters
- Specified by:
resetLinkCounters
in classAbstractLinksApi<Context>
-
updateLink
Description copied from class:AbstractLinksApi
Update a link
- Specified by:
updateLink
in classAbstractLinksApi<Context>
-
runAction
public void runAction(Context ctx, RunActionRequest request, Observer<com.google.protobuf.Struct> observer) Description copied from class:AbstractLinksApi
Run a link-specific action. It is up to the link implementation to register and handle any link actions.
- Specified by:
runAction
in classAbstractLinksApi<Context>
-
verifyLink
-