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,
Collection<NettyServer.ProtocolInitializer> initializers) |
| Modifier and Type | Method and Description |
|---|---|
void |
start() |
void |
stop() |
public NettyServer(ThreadFactory tf, Collection<NettyServer.ProtocolInitializer> initializers)
tf - used to create IO threads to listen and handle network eventsinitializers - functions that bootstrap protocols we should supportCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.