org.apache.tomcat.util.net

Class TcpConnection

public class TcpConnection extends Object

Constructor Summary
TcpConnection()
Method Summary
PoolTcpEndpointgetEndpoint()
SocketgetSocket()
static intreadLine(InputStream in, byte[] b, int off, int len)
voidrecycle()
voidsetEndpoint(PoolTcpEndpoint endpoint)
static voidsetMaxShutdownTries(int mst)
voidsetSocket(Socket socket)
static voidshutdownInput(Socket socket)

Constructor Detail

TcpConnection

public TcpConnection()

Method Detail

getEndpoint

public PoolTcpEndpoint getEndpoint()

getSocket

public Socket getSocket()

readLine

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

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)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.