summaryrefslogtreecommitdiff
path: root/TAO/tests/Blocking_Sync_None/Test.idl
blob: 5e8a1360b7e7b1af1a075956350572188f9b3602 (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
//
// $Id$
//

module Test
{
  typedef sequence<octet> Payload;

  /// An interface to test the SYNC_NONE semantics
  interface Blocking_Sync_None
  {
    /// Receives a potentially big payload, and then
    /// blocks for a user specified time.
    /**
     * If SYNC_NONE is implemented correctly multiple calls to this
     * method should not block.  However, if the semantics are wrong
     * the method will block for as long as the previous request sleep
     * time is.
     */
    oneway void slow_operation (in Payload the_payload,
                                in unsigned long sleep_microseconds);

    /// Shutdown the server
    oneway void shutdown ();
  };
};