diff options
Diffstat (limited to 'TAO/tests/Blocking_Sync_None/Test.idl')
-rw-r--r-- | TAO/tests/Blocking_Sync_None/Test.idl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/tests/Blocking_Sync_None/Test.idl b/TAO/tests/Blocking_Sync_None/Test.idl new file mode 100644 index 00000000000..46596465827 --- /dev/null +++ b/TAO/tests/Blocking_Sync_None/Test.idl @@ -0,0 +1,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 + void shutdown (); + }; +}; |