case class EnterprisePublicServerConfig(address: String = "127.0.0.1", internalPort: Option[Port] = None, tls: Option[TlsBaseServerConfig] = None, keepAliveServer: Option[KeepAliveServerConfig] = Some(KeepAliveServerConfig()), nonceExpirationTime: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofMinutes(1), tokenExpirationTime: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofHours(1), concurrencyLimit: Option[ConcurrencyLimitConfig] = None) extends PublicServerConfig with EnterpriseServerConfig with Product with Serializable
- Alphabetic
- By Inheritance
- EnterprisePublicServerConfig
- EnterpriseServerConfig
- PublicServerConfig
- ServerConfig
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new EnterprisePublicServerConfig(address: String = "127.0.0.1", internalPort: Option[Port] = None, tls: Option[TlsBaseServerConfig] = None, keepAliveServer: Option[KeepAliveServerConfig] = Some(KeepAliveServerConfig()), nonceExpirationTime: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofMinutes(1), tokenExpirationTime: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofHours(1), concurrencyLimit: Option[ConcurrencyLimitConfig] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val address: String
The address of the interface to be listening on
The address of the interface to be listening on
- Definition Classes
- EnterprisePublicServerConfig → ServerConfig
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val clientConfig: ClientConfig
- Definition Classes
- PublicServerConfig
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val concurrencyLimit: Option[ConcurrencyLimitConfig]
Concurrency limiting for the server, using https://github.com/Netflix/concurrency-limits.
Concurrency limiting for the server, using https://github.com/Netflix/concurrency-limits.
This is a preview feature and is not stable.
- Definition Classes
- EnterprisePublicServerConfig → EnterpriseServerConfig
- def connection: String
- Definition Classes
- PublicServerConfig
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def instantiateServerInterceptors(tracingConfig: TracingConfig, apiLoggingConfig: ApiLoggingConfig, metrics: Factory, loggerFactory: NamedLoggerFactory): CantonEnterpriseServerInterceptors
Use the configuration to instantiate the interceptors for this server
Use the configuration to instantiate the interceptors for this server
- Definition Classes
- EnterpriseServerConfig → ServerConfig
- val internalPort: Option[Port]
Port to be listening on (must be greater than 0).
Port to be listening on (must be greater than 0). If the port is None, a default port will be assigned on startup.
NOTE: If you rename this field, adapt the corresponding product hint for config reading.
- Definition Classes
- EnterprisePublicServerConfig → ServerConfig
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keepAliveServer: Option[KeepAliveServerConfig]
server keep alive settings
server keep alive settings
- Definition Classes
- EnterprisePublicServerConfig → ServerConfig
- final def maxInboundMessageSize: NonNegativeInt
This setting has no effect.
This setting has no effect. Therfore hardcoding it to 0.
- Definition Classes
- PublicServerConfig → ServerConfig
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nonceExpirationTime: NonNegativeFiniteDuration
Expiration time for a nonce that is generated for an authentication challenge.
Expiration time for a nonce that is generated for an authentication challenge. as an authentication request is expected to be followed up with almost immediately to generate an authentication token the nonce expiry should be short. the nonce is automatically invalided on use.
- Definition Classes
- EnterprisePublicServerConfig → PublicServerConfig
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- lazy val port: Port
Returns the configured or the default port that must be assigned after config loading and before config usage
Returns the configured or the default port that must be assigned after config loading and before config usage
- Definition Classes
- ServerConfig
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serverCertChainFile: Option[ExistingFile]
server cert chain file if TLS is defined
server cert chain file if TLS is defined
Used for domain internal GRPC sequencer connections
- Definition Classes
- PublicServerConfig → ServerConfig
- def sslContext: Option[SslContext]
If defined, dictates to use TLS when connecting to this node through the given
address
andport
.If defined, dictates to use TLS when connecting to this node through the given
address
andport
. Server authentication is always enabled. Subclasses may decide whether to support client authentication.- Definition Classes
- PublicServerConfig → ServerConfig
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tls: Option[TlsBaseServerConfig]
- Definition Classes
- EnterprisePublicServerConfig → PublicServerConfig
- def toSequencerConnectionConfig: Grpc
- Definition Classes
- ServerConfig
- val tokenExpirationTime: NonNegativeFiniteDuration
Expiration time for authentication tokens.
Expiration time for authentication tokens. Tokens are used to authenticate participants. Choose a shorter time for better security and a longer time for better performance.
- Definition Classes
- EnterprisePublicServerConfig → PublicServerConfig
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])