public class BoltMessagingProtocolV1Handler extends Object implements BoltMessagingProtocolHandler
| Modifier and Type | Field and Description |
|---|---|
static int |
VERSION |
| Constructor and Description |
|---|
BoltMessagingProtocolV1Handler(BoltChannel boltChannel,
BoltWorker worker,
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 BoltMessagingProtocolV1Handler(BoltChannel boltChannel, BoltWorker worker, 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 BoltMessagingProtocolHandlerIOExceptionpublic int version()
BoltMessagingProtocolHandlerversion in interface BoltMessagingProtocolHandlerpublic void close()
BoltMessagingProtocolHandlerclose in interface BoltMessagingProtocolHandlerCopyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.