public interface AnyRpcServerContext
| Modifier and Type | Method and Description |
|---|---|
void |
finishWithAppError(int appErrorCode,
String errorDetail)
Indicates that the RPC was handled in a way that means an "application error" should be
signaled to the client.
|
void |
finishWithResponse(com.google.protobuf.MessageLite response)
Indicates that the RPC was handled successfully.
|
long |
getGlobalId()
Returns a trace id for this request.
|
long |
getStartTimeMillis()
Returns the time at which the RPC began, in milliseconds since midnight UTC on 1970-01-01.
|
Duration |
getTimeRemaining()
Returns the remaining time for this call.
|
void finishWithResponse(com.google.protobuf.MessageLite response)
void finishWithAppError(int appErrorCode,
String errorDetail)
Duration getTimeRemaining()
long getGlobalId()
long getStartTimeMillis()
Copyright © 2022. All rights reserved.