vertx / io.vertx.serviceproxy / ServiceBinder / register

register

open fun <T : Any> register(clazz: Class<T>, service: T): MessageConsumer<JsonObject>

Registers a service on the event bus.

Parameters

clazz - the service class (interface)

service - the service object

- the type of the service interface

Return
the consumer used to unregister the service