|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.vamsas.client.picking.TestApp
Simple example of a (runnable) class that shows how to use the picking API. use this to test new messages. Bear in mind that any active pick server only relays messages that could be parsed at compile time - that means that you must make sure that you close all currently running vamsas pick servers and start a new one which copes with the new message in order to be able to receive any of the new message classes.
Constructor Summary | |
TestApp()
|
Method Summary | |
void |
handleMessage(Message message)
Responds to a message received event. |
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 |
public TestApp()
Method Detail |
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void handleMessage(Message message)
IMessageHandler
handleMessage
in interface IMessageHandler
message
- the message that was received
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |