Package dagger.grpc.server
Class InProcessServerModule
- java.lang.Object
-
- dagger.grpc.server.InProcessServerModule
-
@Module(includes=ServerModule.class) public final class InProcessServerModule extends java.lang.Object
Installing this module into a@Singleton
component means the component can provide aServer
that serves in-process requests.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InProcessServerModule
serverNamed(java.lang.String name)
Creates a module that provides a server that binds to a given name
-
-
-
Method Detail
-
serverNamed
public static InProcessServerModule serverNamed(java.lang.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
-
-