Class InProcessServerModule

java.lang.Object
dagger.grpc.server.InProcessServerModule

@Module(includes=ServerModule.class) public final class InProcessServerModule extends Object
Installing this module into a @Singleton component means the component can provide a Server that serves in-process requests.
  • Method Details

    • serverNamed

      public static InProcessServerModule serverNamed(String name)
      Creates a module that provides a server that binds to a given name
      Parameters:
      name - the identity of the server for clients to connect to