Server
class Server @JvmOverloads constructor(val graph: URI, plugin: Server.Plugin = Plugin.DSL.plugin {}, val address: InetSocketAddress = InetSocketAddress("localhost", 8787), parallelism: Int? = null) : Runnable
Server proxies Bolt data to a Neo4j (5+ compatible) database and performs dynamic message transformation through the plugin.
Parameters
plugin
the Server.Plugin to use to intercept proxied messages and observe server events
Constructors
Link copied to clipboard
constructor(graph: URI, plugin: Server.Plugin = Plugin.DSL.plugin {}, address: InetSocketAddress = InetSocketAddress("localhost", 8787), parallelism: Int? = null)
Types
Link copied to clipboard
The Server established a connection.
Link copied to clipboard
A proxy connection.
Link copied to clipboard
The Server closed the connection.
Link copied to clipboard
interface Plugin
Server.Plugin enables Server functionality to be augmented and/or observed.
Link copied to clipboard
data class Proxied(val session: Bolt.Session, val source: Server.Connection, val received: Bolt.Message, val destination: Server.Connection, val sent: Bolt.Message) : Record, Server.Event
The Server proxied the intercepted Bolt.Message from the source to the destination.
Link copied to clipboard
The Server has started.
Link copied to clipboard
The Server has stopped.