|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.tspaces.examples.services.Demo
This class is responsible for all the functionality needed to run a Demo of the TSpaces Service client. This includes easily starting the separate components -- the T Spaces Server, and any number of service providers based on a config file. This is almost an exact copy of the Demo program that was used for the old AdminServer component.
| Inner Class Summary | |
class |
Demo.ActionButton
This inner class controls the buttons that actually start the programs |
class |
Demo.ActionThread
This inner class creates a thread associated with a program. |
static interface |
Demo.ButtonInterface
|
class |
Demo.DemoURIHandler
This class handles URI's received by the http server of the Demo application. |
class |
Demo.DoneButton
This inner class represents the button used to quit the Demo app. |
class |
Demo.StatusLight
This inner class represents that status of a component: either not running (in which case the status light is a dimmed color) or running (in which case the status light is a green color). |
class |
Demo.URLButton
This inner class represents a button that will retrieve the contents of a URL. |
| Constructor Summary | |
Demo()
Constructor. |
|
Demo(java.lang.String inputfileName)
Constructor. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
java.lang.String |
address()
Returns a string representing the address (hostname:port) for this server. |
void |
cleanup()
Performs final cleanup. |
java.lang.String |
endButton(java.lang.String buttonName)
Ends a running component. |
protected void |
finalize()
finalizer |
java.lang.String |
host()
Returns a string representing the address (hostname) for this server. |
static void |
main(java.lang.String[] argv)
|
void |
mouseClicked(java.awt.event.MouseEvent e)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
java.lang.String |
startButton(java.lang.String buttonName)
Starts a component running. |
java.lang.String |
statusHTML()
Returns a string in HTML that represents the current status of |
| Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Demo()
public Demo(java.lang.String inputfileName)
| Method Detail |
public void cleanup()
public java.lang.String address()
public java.lang.String host()
public java.lang.String startButton(java.lang.String buttonName)
buttonName - the name of the button to startpublic java.lang.String endButton(java.lang.String buttonName)
buttonName - the name of the button to endpublic java.lang.String statusHTML()
protected void finalize()
public void mouseClicked(java.awt.event.MouseEvent e)
public void mousePressed(java.awt.event.MouseEvent e)
public void mouseReleased(java.awt.event.MouseEvent e)
public void mouseEntered(java.awt.event.MouseEvent e)
public void mouseExited(java.awt.event.MouseEvent e)
public void actionPerformed(java.awt.event.ActionEvent e)
public static void main(java.lang.String[] argv)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||