public class ServiceExporter extends Object
original non RX-ified interface using Vert.x codegen.| Constructor and Description |
|---|
ServiceExporter(ServiceExporter delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(Handler<Void> closeHandler)
Close the exporter
|
Object |
getDelegate() |
static ServiceExporter |
newInstance(ServiceExporter arg) |
void |
onPublish(Record record)
Notify a new record has been published, the record's registration can be used to uniquely
identify the record
|
void |
onUnpublish(String id)
Notify an existing record has been removed
|
void |
onUpdate(Record record)
Notify an existing record has been updated, the record's registration can be used to uniquely
identify the record
|
public ServiceExporter(ServiceExporter delegate)
public Object getDelegate()
public void onPublish(Record record)
record - the recordpublic void onUpdate(Record record)
record - the recordpublic void onUnpublish(String id)
id - the record registration idpublic void close(Handler<Void> closeHandler)
closeHandler - the handle to be notified when exporter is closedpublic static ServiceExporter newInstance(ServiceExporter arg)
Copyright © 2016. All rights reserved.