//
// Test.idl,v 1.1 2002/06/25 19:31:54 mayur Exp
//

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

  /// Measure roundtrip delay
  interface Roundtrip
  {
    /// Let the Server know a new client is interested in joining the test
    void start_test ();

    /// Let the server know the client is done
    void end_test ();

    /// 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);

  };
};
