Package com.yahoo.messagebus.network.rpc
Interface RPCTarget.VersionHandler
-
- Enclosing class:
- RPCTarget
public static interface RPCTarget.VersionHandler
Declares a version handler used when resolving the version of a target. An instance of this is passed to
RPCTarget.resolveVersion(double, com.yahoo.messagebus.network.rpc.RPCTarget.VersionHandler)
, and invoked either synchronously or asynchronously, depending on whether or not the version is already available.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleVersion(com.yahoo.component.Version ver)
This method is invoked once the version of the correspondingRPCTarget
becomes available.
-
-
-
Method Detail
-
handleVersion
void handleVersion(com.yahoo.component.Version ver)
This method is invoked once the version of the corresponding
RPCTarget
becomes available. If a problem occured while retrieving the version, this method is invoked with a null argument.- Parameters:
ver
- The version of corresponding target, or null.
-
-