Streams and Files

  • Hank Bromley


Since the mechanics of interacting with different kinds of peripheral devices vary widely, and are often quite messy, it is desirable to shield programmers from having to know the details of such operations. This shielding is accomplished by routing all input and output operations through streams. A stream is a message-receiving object (some use the flavor system and some do not). There are different kinds of streams for the different kinds of peripherals. All streams accept generic commands to perform some operation, and take care themselves of the details of performing that operation on their particular sort of device. This way, knowledge about how to perform I/O operations is segregated into the streams themselves, freeing programs (and programmers) from the need to understand the details of these operations. All a program needs to know is how to deal with streams; the streams know how to deal with everything else.


File System Directory Component Output Stream File Server Interchange Form 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer Science+Business Media New York 1986

Authors and Affiliations

  • Hank Bromley
    • 1
  1. 1.AT&T Bell LaboratoriesUSA

Personalised recommendations