vertx-lang-scala-docs_2.12 3.4.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 servicediscovery
  Definition Classes
    scala
-  package types
  Definition Classes
    servicediscovery
- EventBusService
- HttpEndpoint
- HttpLocation
- JDBCDataSource
- MessageSource
- MongoDataSource
- RedisDataSource

o

io.vertx.scala.servicediscovery.types

# EventBusService 

###
Companion class EventBusService

#### object EventBusService

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. EventBusService
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### 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 apply(asJava: servicediscovery.types.EventBusService): EventBusService
5.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
6.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... )
7.  def createRecord(name: String, address: String, classname: String): Record

   Creates a record based on the parameters.

   Creates a record based on the parameters.

   name

     the service name

   address

     the address

   classname

     the payload class

   returns

     the recordsee Record

8.  def createRecord(name: String, address: String, itf: String, metadata: JsonObject): Record

   Sugar method to creates a record for this type.

   Sugar method to creates a record for this type.

   The java interface is added to the metadata in the `service.interface` key.

   name

     the name of the service.

   address

     the event bus address on which the service available

   itf

     the Java interface (name)

   metadata

     the metadata

   returns

     the created recordsee Record

9.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
10.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
11.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
12.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
13.  def getServiceProxy[T](discovery: ServiceDiscovery, filter: (Record) ⇒ Boolean, clientClass: Class[T], resultHandler: Handler[AsyncResult[T]])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T

    Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).

    Lookup for a service record and if found, retrieve it and return the service object (used to consume the service). This is a convenient method to avoid explicit lookup and then retrieval of the service. This method requires to have the `clientClass` set with the expected set of client. This is important for usages not using Java so you can pass the expected type.

    discovery

      the service discovery

    filter

      the filter

    clientClass

      the client class

    resultHandler

      the result handler

    returns

      `null` - do not use

14.  def getServiceProxyWithJsonFilter[T](discovery: ServiceDiscovery, filter: JsonObject, clientClass: Class[T], resultHandler: Handler[AsyncResult[T]])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T

    Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).

    Lookup for a service record and if found, retrieve it and return the service object (used to consume the service). This is a convenient method to avoid explicit lookup and then retrieval of the service. This method requires to have the `clientClass` set with the expected set of client. This is important for usages not using Java so you can pass the expected type.

    discovery

      the service discovery

    filter

      the filter as json object

    clientClass

      the client class

    resultHandler

      the result handler

    returns

      `null` - do not use

15.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
16.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
17.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
18.  final def notify(): Unit
    Definition Classes
      AnyRef
19.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
20.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
21.  def toString(): String
    Definition Classes
      AnyRef → Any
22.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
23.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
24.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped