org.sourceforge.jemm.comm.example.echo
Interface EchoServerIF

All Known Implementing Classes:
EchoServer

public interface EchoServerIF

Interface offered to clients by EchoServer

Author:
Rory Graves

Method Summary
 void asyncEcho(java.lang.String message)
          Asynchronous echo call.
 java.lang.String echo(java.lang.String message)
          A synchronous echo call, response is returned in return value.
 

Method Detail

echo

java.lang.String echo(java.lang.String message)
A synchronous echo call, response is returned in return value.

Parameters:
message - The message to send to the server
Returns:
The response received from the server.

asyncEcho

void asyncEcho(java.lang.String message)
Asynchronous echo call. Replies are received on the EchoClientIF.

Parameters:
message - The message to be echoed


Copyright © 2009. All Rights Reserved.