javatunnel
Class RedirectEngine

java.lang.Object
  |
  +--javatunnel.Engine
        |
        +--javatunnel.RedirectEngine

public class RedirectEngine
extends Engine

JavaTunnel Copyright (C) 2002 Andrés Ederra This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Constructor Summary
RedirectEngine(Configuration config)
           
 
Method Summary
 void listen()
           
 void start(java.io.InputStream imput, java.io.OutputStream output)
          Starts the network engine where the client is Java Code Suitable to use JavaTunnel as library code Engines may or not support this usage
 
Methods inherited from class javatunnel.Engine
cleanHostsFile, getPathToHostsFile, identifyHostsSystemFilePath, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectEngine

public RedirectEngine(Configuration config)
Method Detail

listen

public void listen()
Specified by:
listen in class Engine

start

public void start(java.io.InputStream imput,
                  java.io.OutputStream output)
Description copied from class: Engine
Starts the network engine where the client is Java Code Suitable to use JavaTunnel as library code Engines may or not support this usage

Specified by:
start in class Engine
Parameters:
imput - InputStream where the engine reads from
output - OutputStream where the engine writes