com.aiyc.server.standalone.net
类 ConnectionHandler
java.lang.Object
com.aiyc.server.standalone.net.ConnectionHandler
- 所有已实现的接口:
- Runnable
public class ConnectionHandler
- extends Object
- implements Runnable
Handler for a connection.
It does handle an incoming connection and reads requests and pass each of
them to the request handler
- 作者:
- felly
|
方法摘要 |
void |
run()
reads each request and passes it to the request handler. closes a
connection if requested |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionHandler
public ConnectionHandler(Socket s)
throws IOException
- 抛出:
IOException
run
public void run()
- reads each request and passes it to the request handler. closes a
connection if requested
- 指定者:
- 接口
Runnable 中的 run
Copyright © 2017. All Rights Reserved.