public interface NetworkSession<T extends SessionConnection<?>>
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
T |
getConnection() |
default Optional<InetSocketAddress> |
getRemoteAddress() |
void |
onDisconnect(DisconnectReason reason) |
void close()
void onDisconnect(DisconnectReason reason)
default Optional<InetSocketAddress> getRemoteAddress()
Copyright © 2018–2019. All rights reserved.