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.CallInfointcom.google.protobuf.Descriptors.MethodDescriptorgetTopic()booleanMethods inherited from class org.yamcs.http.Context
addTransferredSize, checkObjectPrivileges, checkObjectPrivileges, 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
-
getMaxDroppedWrites
public int getMaxDroppedWrites() -
close
public void close() -
dumpState
public org.yamcs.protobuf.State.CallInfo dumpState()
-