📄 todolistinterface_idl.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0171)https://www.icarnegie.com/content/SSD/SSD8/1.5.1/normal/pg-distributed-computing/qn-pr-distributed-to-do-corba/qn-pr-distributed-to-do-corba/solution/TodolistInterface.idl -->
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY><PRE>/*
SSD8 Exercise 5 To do list IDL definition.
*/
module ssd8exercise5 {
interface TodolistInterface {
/*
Add method. Adds the input to do list item information to the list. Returns a boolean
upon completion of addition. A true indicates a successful addition, and a false
indicates a failed addition.
*/
boolean add( in string username, in string password, in string start_time, in string end_time, in string description );
/*
Query method. Returns a string representation of each to do list item that satisfies a
given query condition.
*/
string query( in string username, in string password, in string start_time, in string end_time );
/*
Delete method. Deletes the specified meeting from the user's to do list. Returns
a boolean upon completion. True indicates the list item was successfully deleted
and false indicates the to do list item was not deleted.
*/
boolean delete( in string username, in string password, in long item_id );
/*
Clear method. Clears the given user's to do list. Returns a boolen upon
completion. True indicates the user's to do list was cleared. False indicates
a failure to clear the to do list.
*/
boolean clear( in string username, in string password );
};
};
</PRE></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -