org.apache.tomcat.util.net

Class TcpConnection


public class TcpConnection
extends java.lang.Object

Constructor Summary

TcpConnection()

Method Summary

PoolTcpEndpoint
getEndpoint()
Socket
getSocket()
static int
readLine(InputStream in, byte[] b, int off, int len)
void
recycle()
void
setEndpoint(PoolTcpEndpoint endpoint)
static void
setMaxShutdownTries(int mst)
void
setSocket(Socket socket)
static void
shutdownInput(Socket socket)

Constructor Details

TcpConnection

public TcpConnection()

Method Details

getEndpoint

public PoolTcpEndpoint getEndpoint()


getSocket

public Socket getSocket()


readLine

public static int readLine(InputStream in,
                           byte[] b,
                           int off,
                           int len)
            throws IOException


recycle

public void recycle()


setEndpoint

public void setEndpoint(PoolTcpEndpoint endpoint)


setMaxShutdownTries

public static void setMaxShutdownTries(int mst)


setSocket

public void setSocket(Socket socket)


shutdownInput

public static void shutdownInput(Socket socket)
            throws IOException


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.