GridLab
Grid Application Toolkit

A simple API for Grid Applications
GAT

Menu



next up previous contents
Next: Seeking on FileStreams Up: FileStream Management Previous: Creating and Destroying FileStreams   Contents

Reading and Writing on FileStreams

Upon creating a FileStream the question next arises: ``What can one do with a FileStream?'' ( ``I got three nickels and a quater, can I get to El Sugundo?'' ) Among other things one can read and write bytes to the FileStream. This will in turn read and write bytes to the physical file represented by this FileStream. The magic of GAT occurs in that the application programmer need not be concerned if the FileStream corresponds to a local physical file or a remote physical file or if the protocol used to access the physical file is ``the'' newest kid of the block. If the physical file is local, the application programmer writes the same code as if the physical file were remote. If the file is accessed using ftp, the application programmer writes the same code as if the physical file were being accessed using https. GAT, the magic happens here.


next up previous contents
Next: Seeking on FileStreams Up: FileStream Management Previous: Creating and Destroying FileStreams   Contents
Andre Merzky 2004-05-13