Class TestServer.VersionedRPCNetwork

java.lang.Object
com.yahoo.messagebus.network.rpc.RPCNetwork
com.yahoo.messagebus.network.rpc.test.TestServer.VersionedRPCNetwork
All Implemented Interfaces:
com.yahoo.jrt.MethodHandler, Network
Enclosing class:
TestServer

public static class TestServer.VersionedRPCNetwork extends RPCNetwork
  • Constructor Details

  • Method Details

    • 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)