public abstract class SocketLineHandler extends Object implements SocketHandler
Constructor and Description |
---|
SocketLineHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(Socket socket) |
protected abstract String |
handleLine(String line) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
whenError
public void handle(Socket socket) throws IOException
handle
in interface SocketHandler
socket
- 套接层IOException
Copyright © 2017. All rights reserved.