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