//
// $Id: Test.idl 57046 2004-04-21 23:54:42Z jai $
//

/// A simple module to avoid namespace pollution
module Test
{
  /// Use a timestamp to measure the roundtrip delay
  typedef unsigned long long Timestamp;
  typedef long number;

  /// Measure roundtrip delay
  interface Roundtrip
  {
    /// A simple method to measure roundtrip delays
    /**
     * The operation simply returns its argument, this is used in AMI
     * and deferred synchronous tests to measure the roundtrip delay
     * without the need for a different reply handler for each
     * request.
     */
    Timestamp test_method (in Timestamp send_time,
                           in number cl_number);

    /// Shutdown the ORB
    void shutdown ();
  };
};
