summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/Default_Servant/File.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/Default_Servant/File.idl')
-rw-r--r--TAO/examples/POA/Default_Servant/File.idl13
1 files changed, 6 insertions, 7 deletions
diff --git a/TAO/examples/POA/Default_Servant/File.idl b/TAO/examples/POA/Default_Servant/File.idl
index eeaa55e1d7e..0caa3792c23 100644
--- a/TAO/examples/POA/Default_Servant/File.idl
+++ b/TAO/examples/POA/Default_Servant/File.idl
@@ -26,28 +26,27 @@ module File
{
typedef sequence<octet> DataBuffer;
+ // write buffer to File
long write (in DataBuffer buffer)
raises (IOError);
- // write buffer to File
+ // read num_bytes to DataBuffer
DataBuffer read (in long num_bytes)
raises (IOError);
- // read num_bytes to DataBuffer
+ // seek to offset in File from whence
unsigned long lseek (in unsigned long offset,
in long whence)
raises (IOError);
- // seek to offset in File from whence
+ // destroy the descriptor
void destroy ();
- // destroy the descriptor
};
interface System
{
- Descriptor open (in string file_name,
- in long flags)
+ // File open operation
+ Descriptor open (in string file_name, in long flags)
raises (IOError);
- // File open operation
};
};