/* * Created on Feb 15, 2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package webraveler.ravel; import webraveler.proxy.ProxyServer; /** * @author schmitzc * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ public class Ravel { /** * Creates a ProxyServer object and starts it, binds a ServerSocket * to the port on which Raveler is running, wait for incoming requests, * sends requests to activated plugins for the user, sends the request to * the ProxyClient object, gets response from ProxyClient, sends the response * to the activated plugins for the user, sends the response to the ProxyServer */ public static void main(String args[]) { /* first, we start the proxy server */ int PROXYPORT = 8085; /* Make a Raveler object */ Raveler ravel = new Raveler(); /* Set up Raveler */ RavelerSetup.setupRaveler(ravel); System.out.println("Raveler: Initializing Proxy Server."); ProxyServer proxyServer = new ProxyServer(PROXYPORT,ravel); proxyServer.run(); } //main } //class Ravel