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(Handler<Void> closeHandler)
Close the importer
|
void |
start(Vertx vertx,
ServicePublisher publisher,
JsonObject configuration,
Future<Void> future)
Starts the importer.
|
default void |
stop(Vertx vertx,
ServicePublisher publisher,
Future<Void> future)
Deprecated.
use
close(Handler) instead. This method will be removed in 3.4.0. |
void start(Vertx vertx, ServicePublisher publisher, JsonObject configuration, Future<Void> future)
vertx - the vertx instancepublisher - the service discovery instanceconfiguration - the bridge configuration if anyfuture - a future on which the bridge must report the completion of the starting@Deprecated default void stop(Vertx vertx, ServicePublisher publisher, Future<Void> future)
close(Handler) instead. This method will be removed in 3.4.0.vertx - the vertx instancepublisher - the service discovery instancefuture - the future on which the bridge must report the completion of the stopping processCopyright © 2016. All rights reserved.