java.lang.Object
org.neo4j.driver.internal.async.connection.BoltProtocolUtil
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final BoltProtocolVersion
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.buffer.ByteBuf
static String
static void
writeChunkHeader
(io.netty.buffer.ByteBuf buf, int chunkStartIndex, int headerValue) static void
writeEmptyChunkHeader
(io.netty.buffer.ByteBuf buf) static void
writeMessageBoundary
(io.netty.buffer.ByteBuf buf)
-
Field Details
-
BOLT_MAGIC_PREAMBLE
public static final int BOLT_MAGIC_PREAMBLE- See Also:
-
NO_PROTOCOL_VERSION
-
CHUNK_HEADER_SIZE_BYTES
public static final int CHUNK_HEADER_SIZE_BYTES- See Also:
-
DEFAULT_MAX_OUTBOUND_CHUNK_SIZE_BYTES
public static final int DEFAULT_MAX_OUTBOUND_CHUNK_SIZE_BYTES- See Also:
-
-
Method Details
-
handshakeBuf
public static io.netty.buffer.ByteBuf handshakeBuf() -
handshakeString
-
writeMessageBoundary
public static void writeMessageBoundary(io.netty.buffer.ByteBuf buf) -
writeEmptyChunkHeader
public static void writeEmptyChunkHeader(io.netty.buffer.ByteBuf buf) -
writeChunkHeader
public static void writeChunkHeader(io.netty.buffer.ByteBuf buf, int chunkStartIndex, int headerValue)
-