public final class InProcessServerBuilder extends AbstractServerBuilder<InProcessServerBuilder>
The server is intended to be fully-featured, high performance, and useful in testing.
AbstractServerBuilder.ServerEssentials
Modifier and Type | Method and Description |
---|---|
protected AbstractServerBuilder.ServerEssentials |
buildEssentials()
Children of AbstractServerBuilder should override this method to provide transport specific
information for the server.
|
static InProcessServerBuilder |
forName(String name)
Create a server builder that will bind with the given name.
|
static InProcessServerBuilder |
forName(String name,
HandlerRegistry registry)
Create a server builder that will bind with the given name.
|
addService, build, executor
public static InProcessServerBuilder forName(String name, HandlerRegistry registry)
name
- the identity of the server for clients to connect toregistry
- the registry of handlers used for dispatching incoming callspublic static InProcessServerBuilder forName(String name)
name
- the identity of the server for clients to connect toprotected AbstractServerBuilder.ServerEssentials buildEssentials()
AbstractServerBuilder
buildEssentials
in class AbstractServerBuilder<InProcessServerBuilder>