summaryrefslogtreecommitdiff
path: root/TAO/tests/Blocking_Sync_None/Test.idl
blob: dce16c37768585186598641aa3b1ea6ce5a037b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

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
    void shutdown ();
  };
};