public class NettyServer
extends org.neo4j.kernel.lifecycle.LifecycleAdapter
| Modifier and Type | Class and Description |
|---|---|
static interface |
NettyServer.ProtocolInitializer
Describes how to initialize new channels for a protocol, and which address the protocol should be bolted into.
|
| Constructor and Description |
|---|
NettyServer(ThreadFactory tf,
Map<org.neo4j.kernel.configuration.BoltConnector,NettyServer.ProtocolInitializer> initializersMap,
org.neo4j.kernel.configuration.ConnectorPortRegister connectorRegister) |
| Modifier and Type | Method and Description |
|---|---|
void |
start() |
void |
stop() |
public NettyServer(ThreadFactory tf, Map<org.neo4j.kernel.configuration.BoltConnector,NettyServer.ProtocolInitializer> initializersMap, org.neo4j.kernel.configuration.ConnectorPortRegister connectorRegister)
tf - used to create IO threads to listen and handle network eventsinitializersMap - function per bolt connector map to bootstrap configured protocolsconnectorRegister - register to keep local address information on all configured connectorsCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.