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
org.neo4j.driver.internal.messaging.v52.BoltProtocolV52
org.neo4j.driver.internal.messaging.v53.BoltProtocolV53
- All Implemented Interfaces:
BoltProtocol
- Direct Known Subclasses:
BoltProtocolV54
-
Field Summary
Fields inherited from class org.neo4j.driver.internal.messaging.v3.BoltProtocolV3
METADATA_EXTRACTOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.v52.BoltProtocolV52
verifyNotificationConfigSupported
Methods inherited from class org.neo4j.driver.internal.messaging.v51.BoltProtocolV51
createMessageFormat
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
-
Field Details
-
VERSION
-
INSTANCE
-
-
Constructor Details
-
BoltProtocolV53
public BoltProtocolV53()
-
-
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 classBoltProtocolV51
- 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 classBoltProtocolV52
- Returns:
- the protocol version.
-