next up previous contents
Next: Configuration Options Up: Plain Socket (PLS) Communication Previous: The CommunicationServer   Contents


The Protocol used

The protocol which is used by the communication service is quite simple. Ever method exists of the name of the method, a String, and a array of Objects, the method parameters. To call a method the caller has to provide (send) a string and a array of objects (which is handled in Java as a object itself). It then gets back a objects containing the return value or if an exception occurs the object representing the exception. See Figure [*] on page [*] for a process diagram of the protocol.

Figure: Protocol of the Plain Socket Communication
13#13



Thomas Letsch 2001-02-21