vertx / io.vertx.reactivex.servicediscovery.spi / ServiceExporter

ServiceExporter

open class ServiceExporter

The service exporter allows integrate other discovery technologies with the Vert.x service discovery. It maps entries from another technology to a and maps to a publication in this other technology. The exporter is one side of a service discovery bridge. NOTE: This class has been automatically generated from the io.vertx.servicediscovery.spi.ServiceExporter non RX-ified interface using Vert.x codegen.

Constructors

<init>

ServiceExporter(delegate: ServiceExporter)

Properties

__TYPE_ARG

static val __TYPE_ARG: TypeArg<ServiceExporter>

Functions

close

open fun close(closeHandler: Handler<Void>): Unit

Close the exporter

equals

open fun equals(other: Any?): Boolean

getDelegate

open fun getDelegate(): ServiceExporter

hashCode

open fun hashCode(): Int

init

open fun init(vertx: Vertx, publisher: ServicePublisher, configuration: JsonObject, future: Future<Void>): Unit

Starts the exporter.

newInstance

open static fun newInstance(arg: ServiceExporter): ServiceExporter

onPublish

open fun onPublish(record: Record): Unit

Notify a new record has been published, the record's registration can be used to uniquely identify the record

onUnpublish

open fun onUnpublish(id: String): Unit

Notify an existing record has been removed

onUpdate

open fun onUpdate(record: Record): Unit

Notify an existing record has been updated, the record's registration can be used to uniquely identify the record

toString

open fun toString(): String