next up previous contents
Next: Receive messages from the Up: Samples Previous: Samples   Contents

Send messages to the OpenMAIA server

SendMessage application shows how to send messages to an OPENMAIA server using the Connection Library.

The syntax for lounching packaged jar application is the following:

java  -classpath omconnector-<VERSION>.jar:omconnector-samples-<VERSION>.jar 
      SendMessage command par1 ... parN

This invokation causes the application to build an OPENMAIA message containing the command and the parameters passed on the command line and to send it to the OPENMAIA server assuming running on localhost:60201.



2005-07-12