public class RakNetConnectingSession<T extends NetworkSession<RakNetSession>> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RakNetConnectingSession.ConnectionState |
| Constructor and Description |
|---|
RakNetConnectingSession(InetSocketAddress localAddress,
InetSocketAddress remoteAddress,
io.netty.channel.Channel channel,
RakNetClient<T> rakNet,
CompletableFuture<T> connectedFuture) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete() |
void |
completeExceptionally(RakNetConnectingSession.ConnectionState state) |
RakNetSession |
createSession(RakNetConnectingSession.ConnectionState state) |
CompletableFuture<T> |
getConnectedFuture() |
RakNetConnectingSession.ConnectionState |
getState() |
public RakNetConnectingSession(InetSocketAddress localAddress, InetSocketAddress remoteAddress, io.netty.channel.Channel channel, RakNetClient<T> rakNet, CompletableFuture<T> connectedFuture)
public RakNetSession createSession(RakNetConnectingSession.ConnectionState state)
public void complete()
public void completeExceptionally(RakNetConnectingSession.ConnectionState state)
public RakNetConnectingSession.ConnectionState getState()
public CompletableFuture<T> getConnectedFuture()
Copyright © 2018–2019. All rights reserved.