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 |
---|---|
void |
start(Vertx vertx,
ServicePublisher publisher,
JsonObject configuration,
Future<Void> future)
Starts the bridge.
|
void |
stop(Vertx vertx,
ServicePublisher publisher,
Future<Void> future)
Stops the bridge.
|
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 startingvoid stop(Vertx vertx, ServicePublisher publisher, Future<Void> future)
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.