next up previous contents
Next: Library usage Up: Samples Previous: Send messages to the   Contents

Receive messages from the OpenMAIA server

ReceiveMessages shows how to create an application that will listen for incoming messages from an OPENMAIA server. The listener class, responsable of processing incoming messages, is the sample class MyListener that uses an auxiliar object called MyObject.

The syntax for running the message receiver is the following:

java -classpath omconnector-<VERSION>.jar:omconnector-samples-<VERSION>.jar 
   ReceiveMessages



2005-07-12