eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'OSFileHandle':

Home

everywhere
www.exept.de
for:
[back]

Class: OSFileHandle


Inheritance:

   Object
   |
   +--ExternalAddress
      |
      +--OSHandle
         |
         +--OSFileHandle
            |
            +--UnixFileDescriptorHandle
            |
            +--UnixFileHandle
            |
            +--UnixOperatingSystem::FilePointerHandle

Package:
stx:libbasic
Category:
System-Support
Version:
rev: 1.7 date: 2006/02/08 18:27:09
user: cg
file: OSFileHandle.st directory: libbasic
module: stx stc-classLibrary: libbasic

Class protocol:

initialization
o  initialize
initialize for the OS we are running on

o  initializeConcreteClass
initialize for the OS we are running on

o  reinitialize
initialize for the OS we are running on


Instance protocol:

finalization
o  finalize
a filedescriptor was garbage collected - close the underlying file

input/output
o  readBytes: count into: aByteBuffer startingAt: startAddress
read count bytes into a byte-buffer;
Return the number of bytes read (negative on error)

** This method raises an error - it must be redefined in concrete classes **

o  writeBytes: count from: aByteBuffer startingAt: startAddress
write count bytes from a byte-buffer;
Return the number of bytes written (negative on error)

** This method raises an error - it must be redefined in concrete classes **

release
o  close
close the file

o  closeFile
close the underlying file

** This method raises an error - it must be redefined in concrete classes **



ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 20:18:30 GMT