@Generated(value="org.yamcs.protoc.ServiceGenerator",
date="2023-09-18T00:21:24.523435589Z")
public class Cop1ApiClient
extends AbstractCop1Api<Void>
Methods for virtual channel TC links that have ``useCop1: true``. This service contains methods for setting/getting the configuration and performing various operations. In addition, a websocket subscription is available that will allow receiving periodically the status.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voiddisable(Void ctx, DisableRequest request, Observer<com.google.protobuf.Empty> observer) Disable COP-1 operation This causes the sent queue to be purged.final voidgetConfig(Void ctx, GetConfigRequest request, Observer<Cop1Config> observer) Get COP-1 configurationfinal voidgetStatus(Void ctx, GetStatusRequest request, Observer<Cop1Status> observer) Get COP-1 statusfinal voidinitialize(Void ctx, InitializeRequest request, Observer<com.google.protobuf.Empty> observer) Initialize COP-1 in case state is UNITIALIZEDfinal voidresume(Void ctx, ResumeRequest request, Observer<com.google.protobuf.Empty> observer) Resume COP-1 operation in case state is SUSPENDEDfinal voidsubscribeStatus(Void ctx, SubscribeStatusRequest request, Observer<Cop1Status> observer) Receive COP-1 status updatesfinal voidupdateConfig(Void ctx, UpdateConfigRequest request, Observer<Cop1Config> observer) Update configuration settingsMethods inherited from class org.yamcs.protobuf.AbstractCop1Api
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
Cop1ApiClient
-
-
Method Details
-
initialize
public final void initialize(Void ctx, InitializeRequest request, Observer<com.google.protobuf.Empty> observer) Initialize COP-1 in case state is UNITIALIZED
- Specified by:
initializein classAbstractCop1Api<Void>
-
resume
public final void resume(Void ctx, ResumeRequest request, Observer<com.google.protobuf.Empty> observer) Resume COP-1 operation in case state is SUSPENDED
- Specified by:
resumein classAbstractCop1Api<Void>
-
disable
public final void disable(Void ctx, DisableRequest request, Observer<com.google.protobuf.Empty> observer) Disable COP-1 operation This causes the sent queue to be purged. All TCs from the wait queue, as well as newly received TCs are sent immediately
- Specified by:
disablein classAbstractCop1Api<Void>
-
updateConfig
public final void updateConfig(Void ctx, UpdateConfigRequest request, Observer<Cop1Config> observer) Update configuration settings
- Specified by:
updateConfigin classAbstractCop1Api<Void>
-
getConfig
Get COP-1 configuration
- Specified by:
getConfigin classAbstractCop1Api<Void>
-
getStatus
Get COP-1 status
- Specified by:
getStatusin classAbstractCop1Api<Void>
-
subscribeStatus
public final void subscribeStatus(Void ctx, SubscribeStatusRequest request, Observer<Cop1Status> observer) Receive COP-1 status updates
- Specified by:
subscribeStatusin classAbstractCop1Api<Void>
-