java.lang.Object
org.neo4j.driver.internal.messaging.v3.BoltProtocolV3
org.neo4j.driver.internal.messaging.v4.BoltProtocolV4
org.neo4j.driver.internal.messaging.v41.BoltProtocolV41
org.neo4j.driver.internal.messaging.v42.BoltProtocolV42
org.neo4j.driver.internal.messaging.v43.BoltProtocolV43
org.neo4j.driver.internal.messaging.v44.BoltProtocolV44
org.neo4j.driver.internal.messaging.v5.BoltProtocolV5
org.neo4j.driver.internal.messaging.v51.BoltProtocolV51
- All Implemented Interfaces:
BoltProtocol
- Direct Known Subclasses:
BoltProtocolV52
-
Field Summary
Fields inherited from class org.neo4j.driver.internal.messaging.v3.BoltProtocolV3
METADATA_EXTRACTOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionInstantiateMessageFormat
used by this Bolt protocol verison.void
initializeChannel
(String userAgent, org.neo4j.driver.internal.BoltAgent boltAgent, AuthToken authToken, RoutingContext routingContext, io.netty.channel.ChannelPromise channelInitializedPromise, org.neo4j.driver.internal.GqlNotificationConfig notificationConfig, Clock clock) Initialize channel after it is connected and handshake selected this protocol version.version()
Returns the protocol version.Methods inherited from class org.neo4j.driver.internal.messaging.v5.BoltProtocolV5
includeDateTimeUtcPatchInHello
Methods inherited from class org.neo4j.driver.internal.messaging.v4.BoltProtocolV4
buildResultCursorFactory, verifyDatabaseNameBeforeTransaction
Methods inherited from class org.neo4j.driver.internal.messaging.v3.BoltProtocolV3
beginTransaction, commitTransaction, prepareToCloseChannel, rollbackTransaction, runInAutoCommitTransaction, runInUnmanagedTransaction, telemetry, useLegacyNotifications, verifyNotificationConfigSupported
-
Field Details
-
VERSION
-
INSTANCE
-
-
Constructor Details
-
BoltProtocolV51
public BoltProtocolV51()
-
-
Method Details
-
initializeChannel
public void initializeChannel(String userAgent, org.neo4j.driver.internal.BoltAgent boltAgent, AuthToken authToken, RoutingContext routingContext, io.netty.channel.ChannelPromise channelInitializedPromise, org.neo4j.driver.internal.GqlNotificationConfig notificationConfig, Clock clock) Description copied from interface:BoltProtocol
Initialize channel after it is connected and handshake selected this protocol version.- Specified by:
initializeChannel
in interfaceBoltProtocol
- Overrides:
initializeChannel
in classBoltProtocolV3
- Parameters:
userAgent
- the user agent string.boltAgent
- the bolt agentauthToken
- the authentication token.routingContext
- the configured routing contextchannelInitializedPromise
- the promise to be notified when initialization is completed.notificationConfig
- the notification configurationclock
- the clock to use
-
version
Description copied from interface:BoltProtocol
Returns the protocol version. It can be used for version specific error messages.- Specified by:
version
in interfaceBoltProtocol
- Overrides:
version
in classBoltProtocolV5
- Returns:
- the protocol version.
-
createMessageFormat
Description copied from interface:BoltProtocol
InstantiateMessageFormat
used by this Bolt protocol verison.- Specified by:
createMessageFormat
in interfaceBoltProtocol
- Overrides:
createMessageFormat
in classBoltProtocolV5
- Returns:
- new message format.
-