Class TestServer.VersionedRPCNetwork

  • All Implemented Interfaces:
    com.yahoo.jrt.MethodHandler, Network
    Enclosing class:
    TestServer

    public static class TestServer.VersionedRPCNetwork
    extends RPCNetwork
    • Constructor Detail

      • VersionedRPCNetwork

        public VersionedRPCNetwork​(RPCNetworkParams netParams)
    • Method Detail

      • getVersion

        protected com.yahoo.component.Version getVersion()
        Description copied from class: RPCNetwork
        Returns the version of this network. This gets called when the "mbus.getVersion" method is invoked on this network, and is separated into its own function so that unit tests can override it to simulate other versions than current.
        Overrides:
        getVersion in class RPCNetwork
        Returns:
        The version to claim to be.
      • setVersion

        public void setVersion​(com.yahoo.component.Version version)