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.idl53
1 files changed, 0 insertions, 53 deletions
diff --git a/TAO/examples/POA/Default_Servant/File.idl b/TAO/examples/POA/Default_Servant/File.idl
deleted file mode 100644
index eeaa55e1d7e..00000000000
--- a/TAO/examples/POA/Default_Servant/File.idl
+++ /dev/null
@@ -1,53 +0,0 @@
-// $Id$
-
-//=================================================================
-//
-// = FILENAME
-// File.idl
-//
-// = DESCRIPTION
-// A simple File Descriptor and File System IDL interface.
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//==================================================================
-
-// IDL
-
-module File
-{
- exception IOError
- {
- long error;
- };
-
- interface Descriptor
- {
- typedef sequence<octet> DataBuffer;
-
- long write (in DataBuffer buffer)
- raises (IOError);
- // write buffer to File
-
- DataBuffer read (in long num_bytes)
- raises (IOError);
- // read num_bytes to DataBuffer
-
- unsigned long lseek (in unsigned long offset,
- in long whence)
- raises (IOError);
- // seek to offset in File from whence
-
- void destroy ();
- // destroy the descriptor
- };
-
- interface System
- {
- Descriptor open (in string file_name,
- in long flags)
- raises (IOError);
- // File open operation
- };
-};