summaryrefslogtreecommitdiff
path: root/examples/PluggableUDP/tests/Performance/UDP.idl
blob: e99e330b09f06184737ecc8999a02c92a4aba10c (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
28
29
/* -*- C++ -*- */
// $Id$

interface UDP
{
  // = TITLE
  //    Defines an interface that encapsulates operations that 
  //    return the current time of day and shuts down the server.

  struct LongStruct
  {
    long x;
    string str;
  };

  typedef sequence<LongStruct> LongSeq;

  oneway void setResponseHandler (in UDP udpHandler);

  oneway void reset (in string client_name);

  oneway void invoke (in string client_name,
                      in long request_id);

  oneway void shutdown ();
  // Shutdown the application.
};