java.lang.Object
org.yamcs.http.Context
org.yamcs.http.TopicContext
Context for a specific RPC call over a (shared) WebSocket connection.
-
Field Summary
Fields inherited from class org.yamcs.http.Context
api, fieldMask, log, nettyContext, reverseLookup, statusCode, txSize, user -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(ContextListener listener) booleanvoidclose()org.yamcs.protobuf.State.CallInfocom.google.protobuf.Descriptors.MethodDescriptorgetTopic()booleanbooleanMethods inherited from class org.yamcs.http.Context
addTransferredSize, checkAnyOfSystemPrivileges, checkObjectPrivileges, checkObjectPrivileges, checkParameterPrivilege, checkParameterPrivilege, checkSystemPrivilege, getApi, getClientAddress, getFieldMask, getId, getRequestPrototype, getResponsePrototype, getStatusCode, getTransferredSize, isClientStreaming, isServerStreaming, parseJson, printJson, reportStatusCode, toString
-
Method Details
-
getMethod
public com.google.protobuf.Descriptors.MethodDescriptor getMethod() -
addListener
-
cancel
-
getCancellationCause
-
isCancelled
public boolean isCancelled() -
getTopic
-
isLowPriority
public boolean isLowPriority() -
close
public void close() -
dumpState
public org.yamcs.protobuf.State.CallInfo dumpState()
-