edu.cmu.hcii.calo.thinkaloud.IPAddressFinder Class Reference

List of all members.

Detailed Description

A simple standalone application class that tries to determine the best IP address to use to connect the Wizard of Oz front-end to the sidebar running on another machine.

Author:
Brian Ellis


Public Member Functions

 IPAddressFinder ()
 Makes a new IPAddressFinder.

Static Public Member Functions

static void main (String[] args)
 Main method.

Private Member Functions

List< String > getIpAddresses ()
 Gets a list of all potential IP addresses for this machine, based on everything from interrogating the routing tables to loading whatismyip.com and screen-scraping the HTML to get its opinion of our external IP.

Static Private Attributes

static final long serialVersionUID = -8860770222463693065L
 Prevents serialization collisions.


Constructor & Destructor Documentation

edu.cmu.hcii.calo.thinkaloud.IPAddressFinder.IPAddressFinder (  ) 

Makes a new IPAddressFinder.


Member Function Documentation

static void edu.cmu.hcii.calo.thinkaloud.IPAddressFinder.main ( String[]  args  )  [static]

Main method.

Run me to launch the IP Address Finder.

Parameters:
args command-line args, none of which do anything special

List<String> edu.cmu.hcii.calo.thinkaloud.IPAddressFinder.getIpAddresses (  )  [private]

Gets a list of all potential IP addresses for this machine, based on everything from interrogating the routing tables to loading whatismyip.com and screen-scraping the HTML to get its opinion of our external IP.

Also displays a nice little dialog while we hunt for addresses.

Returns:
the list of IPs


Member Data Documentation

final long edu.cmu.hcii.calo.thinkaloud.IPAddressFinder.serialVersionUID = -8860770222463693065L [static, private]

Prevents serialization collisions.


The documentation for this class was generated from the following file:
Generated on Mon Aug 13 15:06:19 2007 for CALO by  doxygen 1.5.2