📄 test.idl
字号:
//
// test.idl,v 1.2 1999/08/04 17:03:48 coryan Exp
//
interface Peer;
typedef sequence<Peer> PeerSet;
interface Peer
{
// = DESCRIPTION
// A simple interface to demo the AMI implementation.
// A set of "peers" run in the network, each one binds to the
// progress server, when all the peers are bound the server
// requests that each one send multiple "request" messages to each
// other, using AMI. The progress is reported back to the progress
// server for display.
long request (in long id);
// A simple request, sends back the number in <id>.
oneway void start (in PeerSet the_peers,
in long iterations);
// Start the demo in one Peer
oneway void shutdown ();
// Shutdown the ORB
};
interface Progress
{
// = DESCRIPTION
// This interface is used to report progress, multiple
// applications identified by an <id> run in parallel, each one
// reports as the asynchronous requests are sent and received.
oneway void sent_request (in long id);
oneway void recv_reply (in long id);
long bind (in Peer a_peer);
// Bind one of the peers.
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -