|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jwo.vfc.hubclient.HubSend
Establishes a connection with the VFC hub and submits a request.
Constructor Summary | |
HubSend(String[] request)
Initialises the Hub client and either submits a given request or creates a graphical front end if no request supplied. |
Method Summary | |
void |
actionPerformed(ActionEvent event)
Checks for button press and submits the appropriate message to the server. |
void |
keyPressed(KeyEvent e)
Submits request if the 'return' key is pressed. |
void |
keyReleased(KeyEvent e)
Responds to a key being released, but does nothing in this case. |
void |
keyTyped(KeyEvent e)
Responds to a key being typed, but does nothing in this case. |
static void |
main(String[] argv)
Creates a client and reads the configuration file |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HubSend(String[] request)
request
- Command line request for hub.Method Detail |
public static void main(String[] argv)
argv
- Command line request to pass to the hub.public void actionPerformed(ActionEvent event)
actionPerformed
in interface ActionListener
event
- Action event (button press).public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
e
- Key event storing key pressed.public void keyTyped(KeyEvent e)
keyTyped
in interface KeyListener
e
- Key event storing key typed.public void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
e
- Key event storing key released.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |