org.activemath.events.impl
Class XmlrpcEventTester

java.lang.Object
  extended by org.activemath.events.impl.XmlrpcEventTester

public class XmlrpcEventTester
extends Object

XML-RPC client to test remote events.


Constructor Summary
XmlrpcEventTester(String serverUrl, int callbackPort)
          Subscribe ourselfs at the remote event server.
 
Method Summary
static void main(String[] args)
          main method
 int onEvent(String refId, Hashtable props)
          The remote event callback
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlrpcEventTester

public XmlrpcEventTester(String serverUrl,
                         int callbackPort)
                  throws org.apache.xmlrpc.XmlRpcException,
                         IOException
Subscribe ourselfs at the remote event server.

Throws:
org.apache.xmlrpc.XmlRpcException
IOException
Method Detail

onEvent

public int onEvent(String refId,
                   Hashtable props)
The remote event callback


run

public void run()
         throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
main method

Throws:
Exception