public class TCPListener extends Object implements SocketListener
| Constructor and Description |
|---|
TCPListener(Connection conn,
TCPHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
SocketAddress |
getEndPoint() |
public TCPListener(Connection conn, TCPHandler handler) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic SocketAddress getEndPoint()
getEndPoint in interface SocketListenerpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2020. All rights reserved.