public class BoltProtocolV1 extends Object implements BoltProtocol
| Modifier and Type | Field and Description |
|---|---|
static int |
VERSION |
| Constructor and Description |
|---|
BoltProtocolV1(BoltWorker worker,
io.netty.channel.Channel outputChannel,
org.neo4j.kernel.impl.logging.LogService logging) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this instance of the protocol, disposing of any held resources
|
void |
handle(io.netty.channel.ChannelHandlerContext channelContext,
io.netty.buffer.ByteBuf data)
Handle an incoming network packet.
|
int |
version()
Used for version negotiation
|
public static final int VERSION
public BoltProtocolV1(BoltWorker worker, io.netty.channel.Channel outputChannel, org.neo4j.kernel.impl.logging.LogService logging)
public void handle(io.netty.channel.ChannelHandlerContext channelContext,
io.netty.buffer.ByteBuf data)
throws IOException
handle in interface BoltProtocolIOExceptionpublic int version()
BoltProtocolversion in interface BoltProtocolpublic void close()
BoltProtocolclose in interface BoltProtocolCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.