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
FieldsFields inherited from class org.neo4j.driver.internal.messaging.v3.BoltProtocolV3
METADATA_EXTRACTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitializeChannel(String userAgent, org.neo4j.driver.internal.BoltAgent boltAgent, AuthToken authToken, RoutingContext routingContext, io.netty.channel.ChannelPromise channelInitializedPromise, NotificationConfig 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
verifyNotificationConfigSupportedMethods inherited from class org.neo4j.driver.internal.messaging.v51.BoltProtocolV51
createMessageFormatMethods inherited from class org.neo4j.driver.internal.messaging.v5.BoltProtocolV5
includeDateTimeUtcPatchInHelloMethods inherited from class org.neo4j.driver.internal.messaging.v4.BoltProtocolV4
buildResultCursorFactory, verifyDatabaseNameBeforeTransactionMethods inherited from class org.neo4j.driver.internal.messaging.v3.BoltProtocolV3
beginTransaction, commitTransaction, prepareToCloseChannel, rollbackTransaction, runInAutoCommitTransaction, runInUnmanagedTransaction, telemetry
-
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, NotificationConfig notificationConfig, Clock clock) Description copied from interface:BoltProtocolInitialize channel after it is connected and handshake selected this protocol version.- Specified by:
initializeChannelin interfaceBoltProtocol- Overrides:
initializeChannelin 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:BoltProtocolReturns the protocol version. It can be used for version specific error messages.- Specified by:
versionin interfaceBoltProtocol- Overrides:
versionin classBoltProtocolV52- Returns:
- the protocol version.
-