vertx-lang-scala-docs_2.12 3.9.1 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 → 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 → NetworkOptions
39.  def getReconnectAttempts: Int
40.  def getReconnectInterval: Long
41.  def getSendBufferSize: Int
    Definition Classes
      EventBusOptions → NetworkOptions
42.  def getSoLinger: Int
    Definition Classes
      EventBusOptions → TCPSSLOptions
43.  def getSslHandshakeTimeout: Long
    Definition Classes
      EventBusOptions → TCPSSLOptions
44.  def getSslHandshakeTimeoutUnit: TimeUnit
    Definition Classes
      EventBusOptions → TCPSSLOptions
45.  def getTrafficClass: Int
    Definition Classes
      EventBusOptions → NetworkOptions
46.  def getTrustStoreOptions: JksOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
47.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
48.  def isClustered: Boolean
49.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
50.  def isReuseAddress: Boolean
    Definition Classes
      EventBusOptions → NetworkOptions
51.  def isReusePort: Boolean
    Definition Classes
      EventBusOptions → NetworkOptions
52.  def isSsl: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
53.  def isTcpCork: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
54.  def isTcpFastOpen: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
55.  def isTcpKeepAlive: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
56.  def isTcpNoDelay: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
57.  def isTcpQuickAck: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
58.  def isTrustAll: Boolean
59.  def isUseAlpn: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
60.  def isUsePooledBuffers: Boolean
    Definition Classes
      EventBusOptions → TCPSSLOptions
61.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
62.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
63.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
64.  def setAcceptBacklog(value: Int): EventBusOptions

    Set the accept back log.

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

    Set whether client auth is required

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

    Set the value of cluster ping interval, in ms.

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

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

68.  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.

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

    See EventBusOptions for an explanation.

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

    Sets whether or not the event bus is clustered.

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

    Sets the connect timeout

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

    Sets the host.

74.  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
75.  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
76.  def setJdkSslEngineOptions(value: JdkSSLEngineOptions): EventBusOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
77.  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
78.  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 → NetworkOptions
79.  def setOpenSslEngineOptions(value: OpenSSLEngineOptions): EventBusOptions
    Definition Classes
      EventBusOptions → TCPSSLOptions
80.  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
81.  def setPemTrustOptions(value: PemTrustOptions): EventBusOptions

    Set the trust options in pem format

    Set the trust options in pem format

    Definition Classes
      EventBusOptions → TCPSSLOptions
82.  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
83.  def setPfxTrustOptions(value: PfxOptions): EventBusOptions

    Set the trust options in pfx format

    Set the trust options in pfx format

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

    Sets the port.

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

    Set the TCP receive buffer size

    Set the TCP receive buffer size

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

    Sets the value of reconnect attempts.

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

    Set the reconnect interval.

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

    Set the value of reuse address

    Set the value of reuse address

    Definition Classes
      EventBusOptions → NetworkOptions
89.  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 → NetworkOptions
90.  def setSendBufferSize(value: Int): EventBusOptions

    Set the TCP send buffer size

    Set the TCP send buffer size

    Definition Classes
      EventBusOptions → NetworkOptions
91.  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
92.  def setSsl(value: Boolean): EventBusOptions

    Set whether SSL/TLS is enabled

    Set whether SSL/TLS is enabled

    Definition Classes
      EventBusOptions → TCPSSLOptions
93.  def setSslHandshakeTimeout(value: Long): EventBusOptions

    Set the SSL handshake timeout, default time unit is seconds.

    Set the SSL handshake timeout, default time unit is seconds.

    Definition Classes
      EventBusOptions → TCPSSLOptions
94.  def setSslHandshakeTimeoutUnit(value: TimeUnit): EventBusOptions

    Set the SSL handshake timeout unit.

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

    Definition Classes
      EventBusOptions → TCPSSLOptions
95.  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
96.  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
97.  def setTcpKeepAlive(value: Boolean): EventBusOptions

    Set whether TCP keep alive is enabled

    Set whether TCP keep alive is enabled

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

    Set whether TCP no delay is enabled

    Set whether TCP no delay is enabled

    Definition Classes
      EventBusOptions → TCPSSLOptions
99.  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
100.  def setTrafficClass(value: Int): EventBusOptions

     Set the value of traffic class

     Set the value of traffic class

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

     Set whether all server certificates should be trusted.

102.  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
103.  def setUseAlpn(value: Boolean): EventBusOptions

     Set the ALPN usage.

     Set the ALPN usage.

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

     Set whether Netty pooled buffers are enabled

     Set whether Netty pooled buffers are enabled

     Definition Classes
       EventBusOptions → TCPSSLOptions
105.  final def synchronized[T0](arg0: ⇒ T0): T0
     Definition Classes
       AnyRef
106.  def toString(): String
     Definition Classes
       AnyRef → Any
107.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
108.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
109.  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