public interface ServiceAnnouncer
| Modifier and Type | Method and Description |
|---|---|
Cancellable |
announce(String serviceName,
int port)
Registers an endpoint that could be discovered by external party.
|
Cancellable |
announce(String serviceName,
int port,
byte[] payload)
Registers an endpoint that could be discovered by external party with a payload.
|
Cancellable announce(String serviceName, int port)
serviceName - Name of the endpointport - Port of the endpointCancellable announce(String serviceName, int port, byte[] payload)
serviceName - Name of the endpointport - Port of the endpointpayload - byte array payloadCopyright © 2013-2016 The Apache Software Foundation. All rights reserved.