public abstract class AbstractCop1Api<T> extends Object implements Api<T>
| 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 COP1 operation, causing the sent queue to be purged
all TCs from the wait queue and the newly received ones will be sent immediately
|
abstract void |
getConfig(T ctx,
GetConfigRequest request,
Observer<Cop1Config> observer) |
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) |
abstract void |
initialize(T ctx,
InitializeRequest request,
Observer<com.google.protobuf.Empty> observer)
used in case state = UNITIALIZED to initialize COP1
|
abstract void |
resume(T ctx,
ResumeRequest request,
Observer<com.google.protobuf.Empty> observer)
used in case state = SUSPENDED to resume COP1 operation
|
abstract void |
setConfig(T ctx,
SetConfigRequest request,
Observer<com.google.protobuf.Empty> observer) |
public abstract void initialize(T ctx, InitializeRequest request, Observer<com.google.protobuf.Empty> observer)
public abstract void resume(T ctx, ResumeRequest request, Observer<com.google.protobuf.Empty> observer)
public abstract void disable(T ctx, DisableRequest request, Observer<com.google.protobuf.Empty> observer)
public abstract void setConfig(T ctx, SetConfigRequest request, Observer<com.google.protobuf.Empty> observer)
public abstract void getConfig(T ctx, GetConfigRequest request, Observer<Cop1Config> observer)
public abstract void getStatus(T ctx, GetStatusRequest request, Observer<Cop1Status> observer)
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.