Home » apache-tomcat-6.0.26-src » org.apache » tomcat » util » net » [javadoc | source]
org.apache.tomcat.util.net
public class: TcpConnection [javadoc | source]
java.lang.Object
   org.apache.tomcat.util.net.TcpConnection
Field Summary
static  int MAX_SHUTDOWN_TRIES    Maxium number of times to clear the socket input buffer. 
 PoolTcpEndpoint endpoint     
 Socket socket     
Constructor:
 public TcpConnection() 
Method from org.apache.tomcat.util.net.TcpConnection Summary:
getEndpoint,   getSocket,   readLine,   recycle,   setEndpoint,   setMaxShutdownTries,   setSocket,   shutdownInput
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tomcat.util.net.TcpConnection Detail:
 public PoolTcpEndpoint getEndpoint() 
 public Socket getSocket() 
 public static int readLine(InputStream in,
    byte[] b,
    int off,
    int len) throws IOException 
 public  void recycle() 
 public  void setEndpoint(PoolTcpEndpoint endpoint) 
 public static  void setMaxShutdownTries(int mst) 
 public  void setSocket(Socket socket) 
 public static  void shutdownInput(Socket socket) throws IOException