public class ConsulServiceImporter extends Object implements ServiceImporter
| Constructor and Description | 
|---|
ConsulServiceImporter()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close(Handler<Void> completionHandler)
Closes the importer 
 | 
void | 
start(Vertx vertx,
     ServicePublisher publisher,
     JsonObject configuration,
     Promise<Void> completion)
Starts the importer. 
 | 
public void start(Vertx vertx, ServicePublisher publisher, JsonObject configuration, Promise<Void> completion)
ServiceImporterstart in interface ServiceImportervertx - the vertx instancepublisher - the service publisher instanceconfiguration - the bridge configuration if anycompletion - a future on which the bridge must report the completion of the startingpublic void close(Handler<Void> completionHandler)
ServiceImporterclose in interface ServiceImportercompletionHandler - the handle to be notified when importer is closed, may be nullCopyright © 2023 Eclipse. All rights reserved.