public interface RpcCallContext extends Delayable
Modifier and Type | Method and Description |
---|---|
long |
disconnectSince()
Check if the caller who made this IPC call has disconnected.
|
RPCProtos.VersionInfo |
getClientVersionInfo() |
InetAddress |
getRemoteAddress() |
User |
getRequestUser()
Returns the user credentials associated with the current RPC request or
null if no credentials were provided. |
String |
getRequestUserName() |
boolean |
isClientCellBlockSupport()
If the client connected and specified a codec to use, then we will use this codec making
cellblocks to return.
|
endDelay, endDelay, endDelayThrowing, isDelayed, isReturnValueDelayed, startDelay
long disconnectSince()
boolean isClientCellBlockSupport()
User getRequestUser()
null
if no credentials were provided.String getRequestUserName()
InetAddress getRemoteAddress()
RPCProtos.VersionInfo getClientVersionInfo()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.