public class RPCPlugin extends Object
Constructor and Description |
---|
RPCPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
clientFinishConnect(RPCContext context)
Called on the client after the initial RPC handshake
|
void |
clientReceiveResponse(RPCContext context)
This method is invoked at the client after the call is executed,
and after the client receives the response
|
void |
clientSendRequest(RPCContext context)
This method is invoked at the client before it issues the RPC call.
|
void |
clientStartConnect(RPCContext context)
Called on the client before the initial RPC handshake to
setup any handshake metadata for this plugin
|
void |
serverConnecting(RPCContext context)
Called on the server during the RPC handshake
|
void |
serverReceiveRequest(RPCContext context)
This method is invoked at the RPC server when the request is received,
but before the call itself is executed
|
void |
serverSendResponse(RPCContext context)
This method is invoked at the server before the response is executed,
but before the response has been formulated
|
public void clientStartConnect(RPCContext context)
context
- the handshake rpc contextpublic void serverConnecting(RPCContext context)
context
- the handshake rpc contextpublic void clientFinishConnect(RPCContext context)
context
- the handshake rpc contextpublic void clientSendRequest(RPCContext context)
context
- the per-call rpc context (in/out parameter)public void serverReceiveRequest(RPCContext context)
context
- the per-call rpc context (in/out parameter)public void serverSendResponse(RPCContext context)
context
- the per-call rpc context (in/out parameter)public void clientReceiveResponse(RPCContext context)
context
- the per-call rpc contextCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.