uk.ac.vamsas.client.picking
Class TestApp

java.lang.Object
  extended byuk.ac.vamsas.client.picking.TestApp
All Implemented Interfaces:
IMessageHandler

public class TestApp
extends java.lang.Object
implements IMessageHandler

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

TestApp

public TestApp()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

handleMessage

public void handleMessage(Message message)
Description copied from interface: IMessageHandler
Responds to a message received event. It is advisable to implement this method so that it threads off any actions into the GUI event-dispatching thread.

Specified by:
handleMessage in interface IMessageHandler
Parameters:
message - the message that was received