vertx / io.vertx.rxjava.servicediscovery.types / EventBusService

# EventBusService

`open class EventBusService`

for event bus services (service proxies). Consumers receive a service proxy to use the service. NOTE: This class has been automatically generated from the io.vertx.servicediscovery.types.EventBusService non RX-ified interface using Vert.x codegen.

### Constructors

<init> | `EventBusService(delegate: EventBusService)`

### Properties

__TYPE_ARG | `static val __TYPE_ARG: TypeArg<EventBusService>`

### Functions

createRecord | `open static fun createRecord(name: String, address: String, itf: String, metadata: JsonObject): Record` Sugar method to creates a record for this type. The java interface is added to the metadata in the `service.interface` key. `open static fun createRecord(name: String, address: String, classname: String): Record` Creates a record based on the parameters.
equals | `open fun equals(other: Any?): Boolean`
getDelegate | `open fun getDelegate(): EventBusService`
getServiceProxy | `open static fun <T : Any> getServiceProxy(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, clientClass: Class<T>, resultHandler: Handler<AsyncResult<T>>): T` 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.
getServiceProxyWithJsonFilter | `open static fun <T : Any> getServiceProxyWithJsonFilter(discovery: ServiceDiscovery, filter: JsonObject, clientClass: Class<T>, resultHandler: Handler<AsyncResult<T>>): T` 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.
hashCode | `open fun hashCode(): Int`
newInstance | `open static fun newInstance(arg: EventBusService): EventBusService`
toString | `open fun toString(): String`