public interface ServiceImporter
Record
and maps Record
to a publication in this other
technology. The importer is one side of a service discovery bridge.Modifier and Type | Method and Description |
---|---|
default void |
close(io.vertx.core.Handler<Void> closeHandler)
Closes the importer
|
void |
start(io.vertx.core.Vertx vertx,
ServicePublisher publisher,
io.vertx.core.json.JsonObject configuration,
io.vertx.core.Promise<Void> future)
Starts the importer.
|
void start(io.vertx.core.Vertx vertx, ServicePublisher publisher, io.vertx.core.json.JsonObject configuration, io.vertx.core.Promise<Void> future)
vertx
- the vertx instancepublisher
- the service publisher instanceconfiguration
- the bridge configuration if anyfuture
- a future on which the bridge must report the completion of the startingdefault void close(io.vertx.core.Handler<Void> closeHandler)
closeHandler
- the handle to be notified when importer is closed, may be null
Copyright © 2020 Eclipse. All rights reserved.