Class ElectionClient

java.lang.Object
  |
  +--ElectionClient

public class ElectionClient
extends java.lang.Object

Start the election client, connecting to a server on a particular host on a particular port. For instance,

java ElectionClient localhost 8088
will start a client which connections to a server on the local host at port 8088. Both the host and port arguments are optional: by default, "localhost" and the port number given in Constants are used.

This class sets up the GUI, creates an instance of the Client class to handle the client processing, and then passes control to the GUI to get the election to vote in, who to vote for, etc.


Constructor Summary
ElectionClient()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElectionClient

public ElectionClient()
Method Detail

main

public static void main(java.lang.String[] args)