Package org.yamcs.protobuf.links
Class LinksApiClient
@Generated(value="org.yamcs.protoc.ServiceGenerator",
date="2024-04-26T10:53:32.387123038Z")
public class LinksApiClient
extends AbstractLinksApi<Void>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
disableLink
(Void ctx, DisableLinkRequest request, Observer<LinkInfo> observer) Disable a linkfinal void
enableLink
(Void ctx, EnableLinkRequest request, Observer<LinkInfo> observer) Enable a linkfinal void
getLink
(Void ctx, GetLinkRequest request, Observer<LinkInfo> observer) Get a linkfinal void
listLinks
(Void ctx, ListLinksRequest request, Observer<ListLinksResponse> observer) List linksfinal void
resetLinkCounters
(Void ctx, ResetLinkCountersRequest request, Observer<LinkInfo> observer) Reset link countersfinal void
runAction
(Void ctx, RunActionRequest request, Observer<com.google.protobuf.Struct> observer) Run a link-specific action.final void
subscribeLinks
(Void ctx, SubscribeLinksRequest request, Observer<LinkEvent> observer) Receive link updatesfinal void
updateLink
(Void ctx, EditLinkRequest request, Observer<LinkInfo> observer) Update a linkMethods inherited from class org.yamcs.protobuf.links.AbstractLinksApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
LinksApiClient
-
-
Method Details
-
listLinks
public final void listLinks(Void ctx, ListLinksRequest request, Observer<ListLinksResponse> observer) List links
- Specified by:
listLinks
in classAbstractLinksApi<Void>
-
getLink
Get a link
- Specified by:
getLink
in classAbstractLinksApi<Void>
-
updateLink
Update a link
- Specified by:
updateLink
in classAbstractLinksApi<Void>
-
enableLink
Enable a link
- Specified by:
enableLink
in classAbstractLinksApi<Void>
-
disableLink
Disable a link
- Specified by:
disableLink
in classAbstractLinksApi<Void>
-
resetLinkCounters
public final void resetLinkCounters(Void ctx, ResetLinkCountersRequest request, Observer<LinkInfo> observer) Reset link counters
- Specified by:
resetLinkCounters
in classAbstractLinksApi<Void>
-
subscribeLinks
public final void subscribeLinks(Void ctx, SubscribeLinksRequest request, Observer<LinkEvent> observer) Receive link updates
- Specified by:
subscribeLinks
in classAbstractLinksApi<Void>
-
runAction
public final void runAction(Void ctx, RunActionRequest request, Observer<com.google.protobuf.Struct> observer) Run a link-specific action. It is up to the link implementation to register and handle any link actions.
- Specified by:
runAction
in classAbstractLinksApi<Void>
-