Appia Documentation

net.sf.appia.protocols.tcpcomplete
Class TcpReader

java.lang.Object
  extended by net.sf.appia.protocols.tcpcomplete.TcpReader
All Implemented Interfaces:
java.lang.Runnable

public class TcpReader
extends java.lang.Object
implements java.lang.Runnable

Author:
pedrofrv

Constructor Summary
TcpReader(java.net.Socket socket, TcpCompleteSession session, int originalPort, int remotePort, Channel channel, Measures m)
           
 
Method Summary
 void clearInactiveCounter()
           
 int getInactiveCounter()
           
 java.net.Socket getSocket()
           
 void run()
           
 void setRunning(boolean r)
           
 int sumInactiveCounter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpReader

public TcpReader(java.net.Socket socket,
                 TcpCompleteSession session,
                 int originalPort,
                 int remotePort,
                 Channel channel,
                 Measures m)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

setRunning

public void setRunning(boolean r)

getSocket

public java.net.Socket getSocket()

getInactiveCounter

public int getInactiveCounter()

sumInactiveCounter

public int sumInactiveCounter()

clearInactiveCounter

public void clearInactiveCounter()

Appia Documentation

COPYRIGHT 2006-2009, University of Lisbon and INESC-ID
For updates and related information please see Appia Home Page
Send questions, sugestions or remarks to the appia-users mailing list