diff options
Diffstat (limited to 'TAO/tests/POA/Default_Servant/File.idl')
-rw-r--r-- | TAO/tests/POA/Default_Servant/File.idl | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/TAO/tests/POA/Default_Servant/File.idl b/TAO/tests/POA/Default_Servant/File.idl deleted file mode 100644 index 0caa3792c23..00000000000 --- a/TAO/tests/POA/Default_Servant/File.idl +++ /dev/null @@ -1,52 +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; - - // 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); - }; -}; |