public interface NetworkSession<T extends SessionConnection<?>>
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect() |
T |
getConnection() |
default Optional<InetSocketAddress> |
getRemoteAddress() |
void |
onTimeout() |
void disconnect()
void onTimeout()
default Optional<InetSocketAddress> getRemoteAddress()
T getConnection()
Copyright © 2018. All rights reserved.