summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaga <naga@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-30 02:56:19 +0000
committernaga <naga@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-30 02:56:19 +0000
commitbd1022d6041a87015efea4818c76fd4ae2ab3bc0 (patch)
treef4cccc238d546d1be499e3184fde87beed6173a5
parentf9397264717ae3f5e8f609ae34add7d5bedbde88 (diff)
downloadATCD-bd1022d6041a87015efea4818c76fd4ae2ab3bc0.tar.gz
Added comments
-rw-r--r--TAO/tests/POA/Default_Servant/File.idl8
1 files changed, 7 insertions, 1 deletions
diff --git a/TAO/tests/POA/Default_Servant/File.idl b/TAO/tests/POA/Default_Servant/File.idl
index 588b46912e0..0caa3792c23 100644
--- a/TAO/tests/POA/Default_Servant/File.idl
+++ b/TAO/tests/POA/Default_Servant/File.idl
@@ -1,6 +1,5 @@
// $Id$
-// IDL
//=================================================================
//
// = FILENAME
@@ -14,6 +13,8 @@
//
//==================================================================
+// IDL
+
module File
{
exception IOError
@@ -25,21 +26,26 @@ module File
{
typedef sequence<octet> DataBuffer;
+ // write buffer to File
long write (in DataBuffer buffer)
raises (IOError);
+ // read num_bytes to DataBuffer
DataBuffer read (in long num_bytes)
raises (IOError);
+ // seek to offset in File from whence
unsigned long lseek (in unsigned long offset,
in long whence)
raises (IOError);
+ // destroy the descriptor
void destroy ();
};
interface System
{
+ // File open operation
Descriptor open (in string file_name, in long flags)
raises (IOError);
};