eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'OSFileHandle':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: OSFileHandle


Inheritance:

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

Package:
stx:libbasic
Category:
System-Support
Version:
rev: 1.8 date: 2014/06/07 15:08:16
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
usage example(s):
     self initialize

o  initializeConcreteClass
initialize for the OS we are running on
usage example(s):
     self initializeConcreteClass

o  reinitialize
initialize for the OS we are running on
usage example(s):
     self reinitialize


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 7.1.0.0; WebServer 1.663 at exept.de:8081; Mon, 23 Jul 2018 11:48:24 GMT