echo_callback.idl
来自「编译工具」· IDL 代码 · 共 35 行
IDL
35 行
#ifndef __ECHO_CALLBACK_IDL__#define __ECHO_CALLBACK_IDL__module cb { interface CallBack { void call_back(in string mesg); }; interface Server { // Server calls back to client just once in a // recursive call before returning. void one_time(in CallBack cb, in string mesg); // Server remembers the client's reference, and // will call the call-back periodically. It stops // only when shutdown, or a call to the client fails. void register(in CallBack cb, in string mesg, in unsigned short period_secs); // Shuts down the server. void shutdown(); };};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?