client
Class FFCProxy

java.lang.Object
  extended by client.FFCProxy

public class FFCProxy
extends java.lang.Object

fast flux chat client this is a proxy to to the fast flux chat network. it basically takes connections from a chat client, looks up a sever via RMI, and opens a connection to that server, forwarding the client's requests to that server. when a connection breaks because a server goes down, this proxy transparently gets a handle to a new server and opens up a connection to that server.

Author:
Greg Banks

Constructor Summary
FFCProxy(java.lang.String hostname, int listenPort)
          FFCProxy constructor.
 
Method Summary
static void main(java.lang.String[] args)
          the main functions.
static void usage(int exitVal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FFCProxy

public FFCProxy(java.lang.String hostname,
                int listenPort)
         throws java.lang.Exception
FFCProxy constructor. spawns a proxy listening on hostname:listenPort.

Parameters:
hostname - the interface to listen on
listenPort - the port to listen on
Throws:
java.lang.Exception
Method Detail

usage

public static void usage(int exitVal)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
the main functions. connects to a Space, and spawns the proxy server.

Parameters:
args -
Throws:
java.lang.Exception