public final class PingClient extends Object implements PingConnecter
| Modifier and Type | Class and Description |
|---|---|
static interface |
PingClient.Builder |
| Constructor and Description |
|---|
PingClient(Executor executor,
com.davfx.ninio.core.Connecter connecter) |
| Modifier and Type | Method and Description |
|---|---|
static PingClient.Builder |
builder() |
void |
close() |
void |
connect(PingConnection callback) |
Cancelable |
ping(String host,
PingReceiver callback) |
public PingClient(Executor executor, com.davfx.ninio.core.Connecter connecter)
public static PingClient.Builder builder()
public void connect(PingConnection callback)
connect in interface PingConnecterpublic Cancelable ping(String host, PingReceiver callback)
ping in interface PingConnecterpublic void close()
close in interface com.davfx.ninio.core.Disconnectableclose in interface AutoCloseableCopyright © 2016. All rights reserved.