Package com.yahoo.messagebus.network.rpc
Class RPCTarget
java.lang.Object
com.yahoo.messagebus.network.rpc.RPCTarget
- All Implemented Interfaces:
com.yahoo.jrt.RequestWaiter
Implements a target object that encapsulates the JRT connection
target. Instances of this class are returned by RPCService
, and
cached by RPCTargetPool
.
- Author:
- Simon Thoresen Hult
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Declares a version handler used when resolving the version of a target. -
Constructor Summary
ConstructorDescriptionRPCTarget
(com.yahoo.jrt.Spec spec, com.yahoo.jrt.Supervisor orb) Constructs a new instance of this class. -
Method Summary
-
Constructor Details
-
RPCTarget
public RPCTarget(com.yahoo.jrt.Spec spec, com.yahoo.jrt.Supervisor orb) Constructs a new instance of this class.
- Parameters:
spec
- The connection spec of this target.orb
- The jrt supervisor to use when connecting to target.
-
-
Method Details
-
handleRequestDone
public void handleRequestDone(com.yahoo.jrt.Request req) - Specified by:
handleRequestDone
in interfacecom.yahoo.jrt.RequestWaiter
-