public final class HyperbahnClient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HyperbahnClient.Builder |
| Modifier and Type | Field and Description |
|---|---|
AtomicBoolean |
destroyed |
| Modifier and Type | Method and Description |
|---|---|
TFuture<JsonResponse<AdvertiseResponse>> |
advertise()
Starts advertising on Hyperbahn at a fixed interval.
|
SubChannel |
makeClientChannel(String service) |
void |
shutdown() |
void |
stopAdvertising() |
public AtomicBoolean destroyed
public SubChannel makeClientChannel(String service)
public TFuture<JsonResponse<AdvertiseResponse>> advertise()
public void stopAdvertising()
public void shutdown()
Copyright © 2017. All rights reserved.