Class ChannelAttributes

java.lang.Object
org.neo4j.driver.internal.async.connection.ChannelAttributes

public final class ChannelAttributes extends Object
  • Method Details

    • connectionId

      public static String connectionId(io.netty.channel.Channel channel)
    • setConnectionId

      public static void setConnectionId(io.netty.channel.Channel channel, String id)
    • poolId

      public static String poolId(io.netty.channel.Channel channel)
    • setPoolId

      public static void setPoolId(io.netty.channel.Channel channel, String id)
    • protocolVersion

      public static BoltProtocolVersion protocolVersion(io.netty.channel.Channel channel)
    • setProtocolVersion

      public static void setProtocolVersion(io.netty.channel.Channel channel, BoltProtocolVersion version)
    • setServerAgent

      public static void setServerAgent(io.netty.channel.Channel channel, String serverAgent)
    • serverAgent

      public static String serverAgent(io.netty.channel.Channel channel)
    • serverAddress

      public static org.neo4j.driver.internal.BoltServerAddress serverAddress(io.netty.channel.Channel channel)
    • setServerAddress

      public static void setServerAddress(io.netty.channel.Channel channel, org.neo4j.driver.internal.BoltServerAddress address)
    • creationTimestamp

      public static long creationTimestamp(io.netty.channel.Channel channel)
    • setCreationTimestamp

      public static void setCreationTimestamp(io.netty.channel.Channel channel, long creationTimestamp)
    • lastUsedTimestamp

      public static Long lastUsedTimestamp(io.netty.channel.Channel channel)
    • setLastUsedTimestamp

      public static void setLastUsedTimestamp(io.netty.channel.Channel channel, long lastUsedTimestamp)
    • messageDispatcher

      public static InboundMessageDispatcher messageDispatcher(io.netty.channel.Channel channel)
    • setMessageDispatcher

      public static void setMessageDispatcher(io.netty.channel.Channel channel, InboundMessageDispatcher messageDispatcher)
    • terminationReason

      public static String terminationReason(io.netty.channel.Channel channel)
    • setTerminationReason

      public static void setTerminationReason(io.netty.channel.Channel channel, String reason)
    • authorizationStateListener

      public static AuthorizationStateListener authorizationStateListener(io.netty.channel.Channel channel)
    • setAuthorizationStateListener

      public static void setAuthorizationStateListener(io.netty.channel.Channel channel, AuthorizationStateListener authorizationStateListener)
    • connectionReadTimeout

      public static Optional<Long> connectionReadTimeout(io.netty.channel.Channel channel)
    • setConnectionReadTimeout

      public static void setConnectionReadTimeout(io.netty.channel.Channel channel, Long connectionReadTimeout)
    • addBoltPatchesListener

      public static void addBoltPatchesListener(io.netty.channel.Channel channel, BoltPatchesListener listener)
    • boltPatchesListeners

      public static Set<BoltPatchesListener> boltPatchesListeners(io.netty.channel.Channel channel)
    • helloStage

      public static CompletionStage<Void> helloStage(io.netty.channel.Channel channel)
    • setHelloStage

      public static void setHelloStage(io.netty.channel.Channel channel, CompletionStage<Void> helloStage)
    • authContext

      public static AuthContext authContext(io.netty.channel.Channel channel)
    • setAuthContext

      public static void setAuthContext(io.netty.channel.Channel channel, AuthContext authContext)
    • setTelemetryEnabled

      public static void setTelemetryEnabled(io.netty.channel.Channel channel, Boolean telemetryEnabled)
    • telemetryEnabled

      public static boolean telemetryEnabled(io.netty.channel.Channel channel)
    • setGqlStatusEnabled

      public static void setGqlStatusEnabled(io.netty.channel.Channel channel, Boolean gqlStatusEnabled)
    • gqlStatusEnabled

      public static boolean gqlStatusEnabled(io.netty.channel.Channel channel)