@ParametersAreNonnullByDefault public class RakNetClient extends RakNet
| Constructor and Description |
|---|
RakNetClient(InetSocketAddress bindAddress) |
RakNetClient(InetSocketAddress bindAddress,
ScheduledExecutorService scheduler) |
RakNetClient(InetSocketAddress bindAddress,
ScheduledExecutorService scheduler,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
protected CompletableFuture<Void> |
bindInternal() |
RakNetSession |
connect(InetSocketAddress address) |
protected void |
onTick() |
CompletableFuture<RakNetPong> |
ping(InetSocketAddress address,
long timeout,
TimeUnit unit) |
bind, close, getBindAddress, getBootstrap, getProtocolVersion, isRunning, setProtocolVersionpublic RakNetClient(InetSocketAddress bindAddress)
public RakNetClient(InetSocketAddress bindAddress, ScheduledExecutorService scheduler)
public RakNetClient(InetSocketAddress bindAddress, ScheduledExecutorService scheduler, Executor executor)
protected CompletableFuture<Void> bindInternal()
bindInternal in class RakNetpublic RakNetSession connect(InetSocketAddress address)
public CompletableFuture<RakNetPong> ping(InetSocketAddress address, long timeout, TimeUnit unit)
Copyright © 2018–2019. All rights reserved.