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

构造方法摘要
ConnectionHandler(Socket s)
           
 
方法摘要
 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.