- All Known Implementing Classes:
DirectConnection
,NetworkConnection
,RoutingConnection
public interface Connection
-
Method Summary
Modifier and TypeMethodDescriptionvoid
default org.neo4j.driver.internal.DatabaseName
void
void
default String
boolean
isOpen()
boolean
default AccessMode
mode()
protocol()
release()
org.neo4j.driver.internal.BoltServerAddress
void
terminateAndRelease
(String reason) void
write
(Message message, ResponseHandler handler) void
writeAndFlush
(Message message, ResponseHandler handler)
-
Method Details
-
isOpen
boolean isOpen() -
enableAutoRead
void enableAutoRead() -
disableAutoRead
void disableAutoRead() -
write
-
writeAndFlush
-
isTelemetryEnabled
boolean isTelemetryEnabled() -
reset
-
release
CompletionStage<Void> release() -
terminateAndRelease
-
serverAgent
String serverAgent() -
serverAddress
org.neo4j.driver.internal.BoltServerAddress serverAddress() -
protocol
BoltProtocol protocol() -
bindTerminationAwareStateLockingExecutor
-
mode
-
databaseName
default org.neo4j.driver.internal.DatabaseName databaseName() -
impersonatedUser
-