com.partnersoft.apps.tools
Class ManInTheMiddle

java.lang.Object
  extended by com.partnersoft.apps.tools.ManInTheMiddle

public class ManInTheMiddle
extends java.lang.Object

A GUI app that acts as a proxy for TCP conversations and lets you see both sides. Useful for debugging SOAP and similar protocols.

Copyright 2008 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
ManInTheMiddle(int listenPort, java.lang.String redirectAddress, int redirectPort)
          Creates an AppLauncher that lists all available apps.
 
Method Summary
 MainWindow getWindow()
           
 void run()
           
 void start()
          Start the daemon.
 void stop()
          Stop the daemon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManInTheMiddle

public ManInTheMiddle(int listenPort,
                      java.lang.String redirectAddress,
                      int redirectPort)
Creates an AppLauncher that lists all available apps.

Method Detail

start

public void start()
           throws java.lang.Exception
Start the daemon.

Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Stop the daemon.

Throws:
java.lang.Exception

getWindow

public MainWindow getWindow()

run

public void run()