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
FieldsFields inherited from class org.neo4j.driver.internal.messaging.v3.BoltProtocolV3
METADATA_EXTRACTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInstantiateMessageFormatused by this Bolt protocol verison.voidinitializeChannel(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.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, 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, 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 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:BoltProtocolReturns the protocol version. It can be used for version specific error messages.- Specified by:
versionin interfaceBoltProtocol- Overrides:
versionin classBoltProtocolV5- Returns:
- the protocol version.
-
createMessageFormat
Description copied from interface:BoltProtocolInstantiateMessageFormatused by this Bolt protocol verison.- Specified by:
createMessageFormatin interfaceBoltProtocol- Overrides:
createMessageFormatin classBoltProtocolV5- Returns:
- new message format.
-