next up previous contents
Next: Samples Up: Java Library Previous: Requirements   Contents

OpenMAIA server

MessageServer class is a simple OPENMAIA server written in Java that can be used for testing purposes. MessageServer application will start a socket server that listens on either default port (60201) or user-specified port.
Attention! The server provided here is very simple and it only broadcast incoming TCP lines to all of the client connected without checking the integrity of the message.

To start the MessageServer launch the following command in the jars folder:

  java -classpath omconnector-<VERSION>.jar 
       -jar omconnector-server-<VERSION>.jar
Where <VERSION> is the current version of the library.

Once the server is started it is necessary to use CTRL+C sequence to stop it.



2005-07-12