public interface SocketHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handle(Socket socket) |
void |
whenError(Socket socket,
Throwable e)
当发生 IO 异常的时候调用
|
void handle(Socket socket) throws IOException
socket - 套接层IOExceptionCopyright © 2017. All rights reserved.