public abstract class AbstractCop1Api<T> extends Object implements Api<T>
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 and Description |
|---|
AbstractCop1Api() |
| Modifier and Type | Method and Description |
|---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
T ctx,
com.google.protobuf.Message request,
Observer<com.google.protobuf.Message> future) |
Observer<com.google.protobuf.Message> |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
T ctx,
Observer<com.google.protobuf.Message> future) |
abstract void |
disable(T ctx,
DisableRequest request,
Observer<com.google.protobuf.Empty> observer)
Disable COP-1 operation
This causes the sent queue to be purged.
|
abstract void |
getConfig(T ctx,
GetConfigRequest request,
Observer<Cop1Config> observer)
Get COP-1 configuration
|
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
abstract void |
getStatus(T ctx,
GetStatusRequest request,
Observer<Cop1Status> observer)
Get COP-1 status
|
abstract void |
initialize(T ctx,
InitializeRequest request,
Observer<com.google.protobuf.Empty> observer)
Initialize COP-1 in case state is UNITIALIZED
|
abstract void |
resume(T ctx,
ResumeRequest request,
Observer<com.google.protobuf.Empty> observer)
Resume COP-1 operation in case state is SUSPENDED
|
abstract void |
subscribeStatus(T ctx,
SubscribeStatusRequest request,
Observer<Cop1Status> observer)
Receive COP-1 status updates
|
abstract void |
updateConfig(T ctx,
UpdateConfigRequest request,
Observer<Cop1Config> observer)
Update configuration settings
|
public abstract void initialize(T ctx, InitializeRequest request, Observer<com.google.protobuf.Empty> observer)
Initialize COP-1 in case state is UNITIALIZED
public abstract void resume(T ctx, ResumeRequest request, Observer<com.google.protobuf.Empty> observer)
Resume COP-1 operation in case state is SUSPENDED
public abstract void disable(T 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
public abstract void updateConfig(T ctx, UpdateConfigRequest request, Observer<Cop1Config> observer)
Update configuration settings
public abstract void getConfig(T ctx, GetConfigRequest request, Observer<Cop1Config> observer)
Get COP-1 configuration
public abstract void getStatus(T ctx, GetStatusRequest request, Observer<Cop1Status> observer)
Get COP-1 status
public abstract void subscribeStatus(T ctx, SubscribeStatusRequest request, Observer<Cop1Status> observer)
Receive COP-1 status updates
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType in interface Api<T>public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype in interface Api<T>public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype in interface Api<T>public final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
T ctx,
com.google.protobuf.Message request,
Observer<com.google.protobuf.Message> future)
callMethod in interface Api<T>Copyright © 2020 Space Applications Services. All rights reserved.