Class BoltProtocolV53

All Implemented Interfaces:
BoltProtocol
Direct Known Subclasses:
BoltProtocolV54

public class BoltProtocolV53 extends BoltProtocolV52
  • Field Details

  • 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: BoltProtocol
      Initialize channel after it is connected and handshake selected this protocol version.
      Specified by:
      initializeChannel in interface BoltProtocol
      Overrides:
      initializeChannel in class BoltProtocolV51
      Parameters:
      userAgent - the user agent string.
      boltAgent - the bolt agent
      authToken - the authentication token.
      routingContext - the configured routing context
      channelInitializedPromise - the promise to be notified when initialization is completed.
      notificationConfig - the notification configuration
      clock - the clock to use
    • version

      public BoltProtocolVersion version()
      Description copied from interface: BoltProtocol
      Returns the protocol version. It can be used for version specific error messages.
      Specified by:
      version in interface BoltProtocol
      Overrides:
      version in class BoltProtocolV52
      Returns:
      the protocol version.