summaryrefslogtreecommitdiff
path: root/TAO/examples/Simple/echo/Echo.idl
blob: a396838f0bb0dfebd5607d90f4b40c7c934ee6a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* -*- C++ -*- */
// $Id$

#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 */