@Generated(value="org.yamcs.protoc.ServiceGenerator",
date="2023-09-18T00:21:24.534770569Z")
public class LinksApiClient
extends AbstractLinksApi<Void>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voiddisableLink(Void ctx, DisableLinkRequest request, Observer<LinkInfo> observer) Disable a linkfinal voidenableLink(Void ctx, EnableLinkRequest request, Observer<LinkInfo> observer) Enable a linkfinal voidgetLink(Void ctx, GetLinkRequest request, Observer<LinkInfo> observer) Get a linkfinal voidlistLinks(Void ctx, ListLinksRequest request, Observer<ListLinksResponse> observer) List linksfinal voidresetLinkCounters(Void ctx, ResetLinkCountersRequest request, Observer<LinkInfo> observer) Reset link countersfinal voidrunAction(Void ctx, RunActionRequest request, Observer<com.google.protobuf.Struct> observer) Run a link-specific action.final voidsubscribeLinks(Void ctx, SubscribeLinksRequest request, Observer<LinkEvent> observer) Receive link updatesfinal voidupdateLink(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:
listLinksin classAbstractLinksApi<Void>
-
getLink
Get a link
- Specified by:
getLinkin classAbstractLinksApi<Void>
-
updateLink
Update a link
- Specified by:
updateLinkin classAbstractLinksApi<Void>
-
enableLink
Enable a link
- Specified by:
enableLinkin classAbstractLinksApi<Void>
-
disableLink
Disable a link
- Specified by:
disableLinkin classAbstractLinksApi<Void>
-
resetLinkCounters
public final void resetLinkCounters(Void ctx, ResetLinkCountersRequest request, Observer<LinkInfo> observer) Reset link counters
- Specified by:
resetLinkCountersin classAbstractLinksApi<Void>
-
subscribeLinks
public final void subscribeLinks(Void ctx, SubscribeLinksRequest request, Observer<LinkEvent> observer) Receive link updates
- Specified by:
subscribeLinksin 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:
runActionin classAbstractLinksApi<Void>
-