SharedCompatibilityZoneParams

class SharedCompatibilityZoneParams(url: URL, pnm: UUID?, val publishNotaries: (List<<Error class: unknown class>>) -> Unit, val rootCert: X509Certificate? = null) : CompatibilityZoneParams

Represent network management services, network map and doorman, running on the same URL

Constructors

Link copied to clipboard
constructor(url: URL, pnm: UUID?, publishNotaries: (List<<Error class: unknown class>>) -> Unit, rootCert: X509Certificate? = null)

Properties

Link copied to clipboard
val config: <Error class: unknown class>
Link copied to clipboard
val publishNotaries: (List<<Error class: unknown class>>) -> Unit

Hook for a network map server to capture the generated NotaryInfo objects needed for creating the network parameters. This is needed as the network map server is expected to distribute it. The callback will occur on a different thread to the driver-calling thread.

Link copied to clipboard

If specified then the nodes will register themselves with the doorman service using SharedCompatibilityZoneParams.url and expect the registration response to be rooted at this cert. If not specified then no registration is performed and the dev root cert is used as normal.

Functions

Link copied to clipboard
open override fun config(): <Error class: unknown class>
Link copied to clipboard
open override fun doormanURL(): URL
Link copied to clipboard
open override fun networkMapURL(): URL