public class BedrockClient extends Bedrock
| Constructor and Description |
|---|
BedrockClient(InetSocketAddress bindAddress) |
BedrockClient(InetSocketAddress bindAddress,
ScheduledExecutorService scheduler) |
BedrockClient(InetSocketAddress bindAddress,
ScheduledExecutorService scheduler,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CompletableFuture<BedrockClientSession> |
connect(InetSocketAddress address) |
BedrockClientSession |
getSession() |
protected void |
onTick() |
CompletableFuture<BedrockPong> |
ping(InetSocketAddress address) |
bind, getBindAddress, getBootstrappublic BedrockClient(InetSocketAddress bindAddress)
public BedrockClient(InetSocketAddress bindAddress, ScheduledExecutorService scheduler)
public BedrockClient(InetSocketAddress bindAddress, ScheduledExecutorService scheduler, Executor executor)
public CompletableFuture<BedrockClientSession> connect(InetSocketAddress address)
public CompletableFuture<BedrockPong> ping(InetSocketAddress address)
public BedrockClientSession getSession()
Copyright © 2018–2019 NukkitX. All rights reserved.