📄 test.idl
字号:
//
// Test.idl,v 1.1 2002/03/13 19:58:37 coryan Exp
//
/// A simple module to avoid namespace pollution
module Test
{
/// Use a timestamp to measure the roundtrip delay
typedef unsigned long long Timestamp;
interface Session;
interface Callback;
/// Create sessions to measure roundtrip delays
interface Session_Factory
{
/// Return a new session
Session create_new_session (in Callback the_callback);
/// Shutdown the server
void shutdown ();
};
/// Each experiment is ran using completely separate
interface Session
{
/// Run one iteration of the experiment
void sample (in Timestamp the_timestamp);
/// Destroy the session
void shutdown ();
};
interface Callback
{
/// Measure one iteration
void sample (in Timestamp the_timestamp);
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -