Package org.yamcs.http.api
Class SessionsApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
listSessions
(Context ctx, com.google.protobuf.Empty request, Observer<ListSessionsResponse> observer) List sessionsvoid
subscribeSession
(Context ctx, com.google.protobuf.Empty request, Observer<SessionEventInfo> observer) Receive notification when own session endsMethods inherited from class org.yamcs.protobuf.AbstractSessionsApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
SessionsApi
public SessionsApi()
-
-
Method Details
-
listSessions
public void listSessions(Context ctx, com.google.protobuf.Empty request, Observer<ListSessionsResponse> observer) Description copied from class:AbstractSessionsApi
List sessions
- Specified by:
listSessions
in classAbstractSessionsApi<Context>
-
subscribeSession
public void subscribeSession(Context ctx, com.google.protobuf.Empty request, Observer<SessionEventInfo> observer) Description copied from class:AbstractSessionsApi
Receive notification when own session ends
- Specified by:
subscribeSession
in classAbstractSessionsApi<Context>
-