ProProxy Home

proproxy
Class ProTCPProcessor

java.lang.Object
  |
  +--proproxy.ProAbstractTCPProcessor
        |
        +--proproxy.ProTCPProcessor
All Implemented Interfaces:
java.lang.Runnable

public class ProTCPProcessor
extends ProAbstractTCPProcessor

ProTCPProcessor
The TCP connection processor. Takes up a new connection, and keeps passing data to and fro till the connection breaks.
You are free to use this code and to make modifications provided this notice is retained.

If you found this useful, please add a note of acknowledgement to my guestbook. If you would like to report a bug or suggest some improvements, you are most welcome. I will be happy to help you use this piece of code.

Version:
1.02, 01st Jul, 1999
Author:
Tanmay K. Mohapatra

Constructor Summary
ProTCPProcessor(java.util.Stack cache, java.lang.String sCascadeServer, int iCascadePort)
          save the connection properties and the cache stack.
 
Method Summary
 void openConnection()
           
 void processConnection()
           
 
Methods inherited from class proproxy.ProAbstractTCPProcessor
closeConnection, processReq, run, tunnelProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProTCPProcessor

public ProTCPProcessor(java.util.Stack cache,
                       java.lang.String sCascadeServer,
                       int iCascadePort)
save the connection properties and the cache stack.
Method Detail

openConnection

public void openConnection()
                    throws java.io.IOException
Overrides:
openConnection in class ProAbstractTCPProcessor

processConnection

public void processConnection()
                       throws java.io.IOException
Overrides:
processConnection in class ProAbstractTCPProcessor

ProProxy Home