ParkNPark.client
Class ParkNParkClient

java.lang.Object
  extended by ParkNPark.client.ParkNParkClient
All Implemented Interfaces:
Runnable

public class ParkNParkClient
extends Object
implements Runnable

ParkNPark client


Field Summary
protected  int interRequestTime
          Time between requests
protected  Logger logger
          Logger instance
protected  int numClients
          Number of clients
protected  ORB orb
          Our object request broker
protected  int replySize
          Size of reply
 
Constructor Summary
ParkNParkClient(ORB orb, int numClients, int interRequestTime, int replySize)
          Creates a new ParkNParkClient instance that will use the given ORB to communicate with the server
 
Method Summary
static void main(String[] args)
          Convenience method that executes the ParkNParkClient from the command line
 void run()
          Runs the ParkNParkClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

orb

protected ORB orb
Our object request broker


numClients

protected int numClients
Number of clients


interRequestTime

protected int interRequestTime
Time between requests


replySize

protected int replySize
Size of reply


logger

protected Logger logger
Logger instance

Constructor Detail

ParkNParkClient

public ParkNParkClient(ORB orb,
                       int numClients,
                       int interRequestTime,
                       int replySize)
Creates a new ParkNParkClient instance that will use the given ORB to communicate with the server

Parameters:
orb - The ORB to communicate with the server on
Method Detail

main

public static void main(String[] args)
Convenience method that executes the ParkNParkClient from the command line

Parameters:
args - The command-line arguments to use when starting the client

run

public void run()
Runs the ParkNParkClient

Specified by:
run in interface Runnable