Package com.yahoo.messagebus.network.rpc
Class RPCSendV2
java.lang.Object
com.yahoo.messagebus.network.rpc.RPCSend
com.yahoo.messagebus.network.rpc.RPCSendV2
- All Implemented Interfaces:
com.yahoo.jrt.MethodHandler
,com.yahoo.jrt.RequestWaiter
,RPCSendAdapter
,ReplyHandler
Implements the request adapter for method "mbus.slime".
- Author:
- baldersheim
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.messagebus.network.rpc.RPCSend
RPCSend.Params
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.yahoo.jrt.Method
protected Reply
createReply
(com.yahoo.jrt.Values ret, String serviceName, Trace trace) protected void
createResponse
(com.yahoo.jrt.Values ret, Reply reply, com.yahoo.component.Version version, byte[] payload) protected com.yahoo.jrt.Request
encodeRequest
(com.yahoo.component.Version version, Route route, RPCServiceAddress address, Message msg, long timeRemaining, byte[] payload, int traceLevel) protected String
protected RPCSend.Params
toParams
(com.yahoo.jrt.Values args) Methods inherited from class com.yahoo.messagebus.network.rpc.RPCSend
decode, handleReply, handleRequestDone, invoke, send
-
Constructor Details
-
RPCSendV2
-
-
Method Details
-
getReturnSpec
- Specified by:
getReturnSpec
in classRPCSend
-
buildMethod
protected com.yahoo.jrt.Method buildMethod()- Specified by:
buildMethod
in classRPCSend
-
encodeRequest
protected com.yahoo.jrt.Request encodeRequest(com.yahoo.component.Version version, Route route, RPCServiceAddress address, Message msg, long timeRemaining, byte[] payload, int traceLevel) - Specified by:
encodeRequest
in classRPCSend
-
createReply
- Specified by:
createReply
in classRPCSend
-
toParams
-
createResponse
protected void createResponse(com.yahoo.jrt.Values ret, Reply reply, com.yahoo.component.Version version, byte[] payload) - Specified by:
createResponse
in classRPCSend
-