/* -*- C++ -*- */
// $Id: Echo.idl 79327 2007-08-13 12:14:16Z sowayaa $

#if !defined (_ECHO_IDL)
#define _ECHO_IDL

interface Echo
{
  // = TITLE
  // Defines an interface that encapsulates operations that return the
  // mesg string to be displayed and shuts down the server.

  typedef sequence<Object> List;

  List echo_list (in string message);
  // This operation returns the message as a sequence of Objects and
  // displays it on the screen as a string.

  string echo_string (in string message);
  // This operation returns the message as a string and displays it on
  // the screen.

  oneway void shutdown ();
  // This operation will shutdown the server.
};

#endif /* _ECHO_IDL */
