c

com.digitalasset.canton.domain.config

CommunityPublicServerConfig

case class CommunityPublicServerConfig(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), overrideMaxRequestSize: Option[NonNegativeInt] = None) extends PublicServerConfig with CommunityServerConfig with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommunityPublicServerConfig
  2. CommunityServerConfig
  3. PublicServerConfig
  4. ServerConfig
  5. Serializable
  6. Product
  7. Equals
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CommunityPublicServerConfig(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), overrideMaxRequestSize: Option[NonNegativeInt] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val address: String

    The address of the interface to be listening on

    The address of the interface to be listening on

    Definition Classes
    CommunityPublicServerConfigServerConfig
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. lazy val clientConfig: ClientConfig
    Definition Classes
    PublicServerConfig
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def connection: String
    Definition Classes
    PublicServerConfig
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def instantiateServerInterceptors(tracingConfig: TracingConfig, apiLoggingConfig: ApiLoggingConfig, metrics: Factory, loggerFactory: NamedLoggerFactory, grpcMetrics: GrpcServerMetrics): CantonServerInterceptors

    Use the configuration to instantiate the interceptors for this server

    Use the configuration to instantiate the interceptors for this server

    Definition Classes
    CommunityServerConfigServerConfig
  12. 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. In the configuration the field is still called port for usability reasons.

    Definition Classes
    CommunityPublicServerConfigServerConfig
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val keepAliveServer: Option[KeepAliveServerConfig]

    server keep alive settings

    server keep alive settings

    Definition Classes
    CommunityPublicServerConfigServerConfig
  15. final def maxInboundMessageSize: NonNegativeInt

    This setting has no effect.

    This setting has no effect. Therfore hardcoding it to 0.

    Definition Classes
    PublicServerConfigServerConfig
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. 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
    CommunityPublicServerConfigPublicServerConfig
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. val overrideMaxRequestSize: Option[NonNegativeInt]

    overrides the default maximum request size in bytes on the sequencer node

    overrides the default maximum request size in bytes on the sequencer node

    Definition Classes
    CommunityPublicServerConfigPublicServerConfig
  21. def 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.

    We split between port and internalPort to offer a clean API to users of the config in the form of port, which must always return a configured or default port, and the internal representation that may be None before being assigned a default port.

    Definition Classes
    ServerConfig
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. 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
    PublicServerConfigServerConfig
  24. def sslContext: Option[SslContext]

    If defined, dictates to use TLS when connecting to this node through the given address and port.

    If defined, dictates to use TLS when connecting to this node through the given address and port. Server authentication is always enabled. Subclasses may decide whether to support client authentication.

    Definition Classes
    PublicServerConfigServerConfig
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. val tls: Option[TlsBaseServerConfig]
  27. def toSequencerConnectionConfig: Grpc
    Definition Classes
    ServerConfig
  28. 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
    CommunityPublicServerConfigPublicServerConfig
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from CommunityServerConfig

Inherited from PublicServerConfig

Inherited from ServerConfig

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped