vertx-lang-scala-docs_2.12 3.6.0 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package core
  Definition Classes
    scala
-  package eventbus
  Definition Classes
    core
- DeliveryContext
- DeliveryOptions
- EventBus
- EventBusOptions
- Message
- MessageConsumer
- MessageProducer

c

io.vertx.scala.core.eventbus

# EventBusOptions 

###
Companion object EventBusOptions

#### class EventBusOptions extends TCPSSLOptions

Options to configure the event bus.

Linear Supertypes
TCPSSLOptions, NetworkOptions, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. EventBusOptions
2. TCPSSLOptions
3. NetworkOptions
4. AnyRef
5. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new EventBusOptions(_asJava: core.eventbus.EventBusOptions)

### 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.  def addCrlPath(value: String): EventBusOptions

   Add a CRL path

   Add a CRL path

   Definition Classes
     EventBusOptions → TCPSSLOptions
5.  def addCrlValue(value: Buffer): EventBusOptions

   Add a CRL value

   Add a CRL value

   Definition Classes
     EventBusOptions → TCPSSLOptions
6.  def addEnabledCipherSuite(value: String): EventBusOptions

   Add an enabled cipher suite, appended to the ordered suites.

   Add an enabled cipher suite, appended to the ordered suites.

   Definition Classes
     EventBusOptions → TCPSSLOptions
7.  def addEnabledSecureTransportProtocol(value: String): EventBusOptions

   Sets the list of enabled SSL/TLS protocols.

   Sets the list of enabled SSL/TLS protocols.

   Definition Classes
     EventBusOptions → TCPSSLOptions
8.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
9.  def asJava: core.eventbus.EventBusOptions
10.  def clone(): AnyRef
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )
11.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
12.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
13.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
14.  def getAcceptBacklog: Int
15.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
16.  def getClientAuth: ClientAuth
17.  def getClusterPingInterval: Long
18.  def getClusterPingReplyInterval: Long
19.  def getClusterPublicHost: String
20.  def getClusterPublicPort: Int
21.  def getConnectTimeout: Int
22.  def getCrlPaths: Buffer[String]
    Definition Classes
      EventBusOptions → TCPSSLOptions
23.  def getCrlValues: Buffer[Buffer]
    Definition Classes
      EventBusOptions → TCPSSLOptions
24.  def getEnabledCipherSuites: Set[String]
    Definition Classes
      EventBusOptions → TCPSSLOptions
25.  def getEnabledSecureTransportProtocols: Set[String]
    Definition Classes
      EventBusOptions → TCPSSLOptions
26.  def getHost: String
27.  def getIdleTimeout: Int
    Definition Classes
      EventBusOptions → TCPSSLOptions
28.  def getIdleTimeoutUnit: TimeUnit
    Definition Classes
      EventBusOptions → TCPSSLOptions
29.  def getJdkSslEngineOptions: JdkSSLEngineOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
30.  def getKeyStoreOptions: JksOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
31.  def getLogActivity: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions → NetworkOptions
32.  def getOpenSslEngineOptions: OpenSSLEngineOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
33.  def getPemKeyCertOptions: PemKeyCertOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
34.  def getPemTrustOptions: PemTrustOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
35.  def getPfxKeyCertOptions: PfxOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
36.  def getPfxTrustOptions: PfxOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
37.  def getPort: Int
38.  def getReceiveBufferSize: Int
    Definition Classes
      EventBusOptions → TCPSSLOptions → NetworkOptions
39.  def getReconnectAttempts: Int
40.  def getReconnectInterval: Long
41.  def getSendBufferSize: Int
    Definition Classes
      EventBusOptions → TCPSSLOptions → NetworkOptions
42.  def getSoLinger: Int
    Definition Classes
      EventBusOptions → TCPSSLOptions
43.  def getTrafficClass: Int
    Definition Classes
      EventBusOptions → TCPSSLOptions → NetworkOptions
44.  def getTrustStoreOptions: JksOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
45.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
46.  def isClustered: Boolean
47.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
48.  def isReuseAddress: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions → NetworkOptions
49.  def isReusePort: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions → NetworkOptions
50.  def isSsl: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
51.  def isTcpCork: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
52.  def isTcpFastOpen: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
53.  def isTcpKeepAlive: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
54.  def isTcpNoDelay: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
55.  def isTcpQuickAck: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
56.  def isTrustAll: Boolean
57.  def isUseAlpn: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
58.  def isUsePooledBuffers: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
59.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
60.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
61.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
62.  def setAcceptBacklog(value: Int): EventBusOptions

    Set the accept back log.

63.  def setClientAuth(value: ClientAuth): EventBusOptions

    Set whether client auth is required

64.  def setClusterPingInterval(value: Long): EventBusOptions

    Set the value of cluster ping interval, in ms.

65.  def setClusterPingReplyInterval(value: Long): EventBusOptions

    Set the value of cluster ping reply interval, in ms.

66.  def setClusterPublicHost(value: String): EventBusOptions

    Set the public facing hostname to be used for clustering.

    Set the public facing hostname to be used for clustering. Sometimes, e.g. when running on certain clouds, the local address the server listens on for clustering is not the same address that other nodes connect to it at, as the OS / cloud infrastructure does some kind of proxying. If this is the case you can specify a public hostname which is different from the hostname the server listens at.

    The default value is null which means use the same as the cluster hostname.

67.  def setClusterPublicPort(value: Int): EventBusOptions

    See EventBusOptions for an explanation.

68.  def setClustered(value: Boolean): EventBusOptions

    Sets whether or not the event bus is clustered.

69.  def setConnectTimeout(value: Int): EventBusOptions

    Sets the connect timeout

70.  def setEnabledSecureTransportProtocols(value: Set[String]): EventBusOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
71.  def setHost(value: String): EventBusOptions

    Sets the host.

72.  def setIdleTimeout(value: Int): EventBusOptions

    Set the idle timeout, default time unit is seconds.

    Set the idle timeout, default time unit is seconds. Zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout.

    If you want change default time unit, use TCPSSLOptions

    Definition Classes
      EventBusOptions → TCPSSLOptions
73.  def setIdleTimeoutUnit(value: TimeUnit): EventBusOptions

    Set the idle timeout unit.

    Set the idle timeout unit. If not specified, default is seconds.

    Definition Classes
      EventBusOptions → TCPSSLOptions
74.  def setJdkSslEngineOptions(value: JdkSSLEngineOptions): EventBusOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
75.  def setKeyStoreOptions(value: JksOptions): EventBusOptions

    Set the key/cert options in jks format, aka Java keystore.

    Set the key/cert options in jks format, aka Java keystore.

    Definition Classes
      EventBusOptions → TCPSSLOptions
76.  def setLogActivity(value: Boolean): EventBusOptions

    Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.

    Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.

    Definition Classes
      EventBusOptions → TCPSSLOptions → NetworkOptions
77.  def setOpenSslEngineOptions(value: OpenSSLEngineOptions): EventBusOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
78.  def setPemKeyCertOptions(value: PemKeyCertOptions): EventBusOptions

    Set the key/cert store options in pem format.

    Set the key/cert store options in pem format.

    Definition Classes
      EventBusOptions → TCPSSLOptions
79.  def setPemTrustOptions(value: PemTrustOptions): EventBusOptions

    Set the trust options in pem format

    Set the trust options in pem format

    Definition Classes
      EventBusOptions → TCPSSLOptions
80.  def setPfxKeyCertOptions(value: PfxOptions): EventBusOptions

    Set the key/cert options in pfx format.

    Set the key/cert options in pfx format.

    Definition Classes
      EventBusOptions → TCPSSLOptions
81.  def setPfxTrustOptions(value: PfxOptions): EventBusOptions

    Set the trust options in pfx format

    Set the trust options in pfx format

    Definition Classes
      EventBusOptions → TCPSSLOptions
82.  def setPort(value: Int): EventBusOptions

    Sets the port.

83.  def setReceiveBufferSize(value: Int): EventBusOptions

    Set the TCP receive buffer size

    Set the TCP receive buffer size

    Definition Classes
      EventBusOptions → TCPSSLOptions → NetworkOptions
84.  def setReconnectAttempts(value: Int): EventBusOptions

    Sets the value of reconnect attempts.

85.  def setReconnectInterval(value: Long): EventBusOptions

    Set the reconnect interval.

86.  def setReuseAddress(value: Boolean): EventBusOptions

    Set the value of reuse address

    Set the value of reuse address

    Definition Classes
      EventBusOptions → TCPSSLOptions → NetworkOptions
87.  def setReusePort(value: Boolean): EventBusOptions

    Set the value of reuse port.

    Set the value of reuse port.

    This is only supported by native transports.

    Definition Classes
      EventBusOptions → TCPSSLOptions → NetworkOptions
88.  def setSendBufferSize(value: Int): EventBusOptions

    Set the TCP send buffer size

    Set the TCP send buffer size

    Definition Classes
      EventBusOptions → TCPSSLOptions → NetworkOptions
89.  def setSoLinger(value: Int): EventBusOptions

    Set whether SO_linger keep alive is enabled

    Set whether SO_linger keep alive is enabled

    Definition Classes
      EventBusOptions → TCPSSLOptions
90.  def setSsl(value: Boolean): EventBusOptions

    Set whether SSL/TLS is enabled

    Set whether SSL/TLS is enabled

    Definition Classes
      EventBusOptions → TCPSSLOptions
91.  def setTcpCork(value: Boolean): EventBusOptions

    Enable the `TCP_CORK` option - only with linux native transport.

    Enable the `TCP_CORK` option - only with linux native transport.

    Definition Classes
      EventBusOptions → TCPSSLOptions
92.  def setTcpFastOpen(value: Boolean): EventBusOptions

    Enable the `TCP_FASTOPEN` option - only with linux native transport.

    Enable the `TCP_FASTOPEN` option - only with linux native transport.

    Definition Classes
      EventBusOptions → TCPSSLOptions
93.  def setTcpKeepAlive(value: Boolean): EventBusOptions

    Set whether TCP keep alive is enabled

    Set whether TCP keep alive is enabled

    Definition Classes
      EventBusOptions → TCPSSLOptions
94.  def setTcpNoDelay(value: Boolean): EventBusOptions

    Set whether TCP no delay is enabled

    Set whether TCP no delay is enabled

    Definition Classes
      EventBusOptions → TCPSSLOptions
95.  def setTcpQuickAck(value: Boolean): EventBusOptions

    Enable the `TCP_QUICKACK` option - only with linux native transport.

    Enable the `TCP_QUICKACK` option - only with linux native transport.

    Definition Classes
      EventBusOptions → TCPSSLOptions
96.  def setTrafficClass(value: Int): EventBusOptions

    Set the value of traffic class

    Set the value of traffic class

    Definition Classes
      EventBusOptions → TCPSSLOptions → NetworkOptions
97.  def setTrustAll(value: Boolean): EventBusOptions

    Set whether all server certificates should be trusted.

98.  def setTrustStoreOptions(value: JksOptions): EventBusOptions

    Set the trust options in jks format, aka Java truststore

    Set the trust options in jks format, aka Java truststore

    Definition Classes
      EventBusOptions → TCPSSLOptions
99.  def setUseAlpn(value: Boolean): EventBusOptions

    Set the ALPN usage.

    Set the ALPN usage.

    Definition Classes
      EventBusOptions → TCPSSLOptions
100.  def setUsePooledBuffers(value: Boolean): EventBusOptions

     Set whether Netty pooled buffers are enabled

     Set whether Netty pooled buffers are enabled

     Definition Classes
       EventBusOptions → TCPSSLOptions
101.  final def synchronized[T0](arg0: ⇒ T0): T0
     Definition Classes
       AnyRef
102.  def toString(): String
     Definition Classes
       AnyRef → Any
103.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
104.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
105.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @native() @throws( ... )

### Inherited from TCPSSLOptions

### Inherited from NetworkOptions

### Inherited from AnyRef

### Inherited from Any

### Ungrouped