Package dagger.grpc.server
Class InProcessServerModule
java.lang.Object
dagger.grpc.server.InProcessServerModule
Installing this module into a
@Singleton
component means the component can
provide a Server
that serves in-process requests.-
Method Summary
Modifier and TypeMethodDescriptionstatic InProcessServerModule
serverNamed
(String name) Creates a module that provides a server that binds to a given name
-
Method Details
-
serverNamed
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
-