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.

package

Default

Methods

__construct

__construct() 

Close the exporter

close( $arg0) : void

Arguments

$arg0

callable

Starts the exporter.

init( $arg0,  $arg1,  $arg2,  $arg3) : void

Arguments

$arg0

Vertx

$arg1

ServicePublisher

$arg2

array

$arg3

Future

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

onPublish( $arg0) : void

Arguments

$arg0

array | Record

Notify an existing record has been removed

onUnpublish( $arg0) : void

Arguments

$arg0

string

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

onUpdate( $arg0) : void

Arguments

$arg0

array | Record