Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberStream


Open

Opens this Cyberdog stream and initiates the downloading process.

void Open ();
DISCUSSION
This method should initiate the download operation and return immediately. You should open a stream object only once.

You check on the status of the download and the availability of data by calling GetStreamStatus. Once a stream object has been opened, at least one of the following three status flags must eventually be set to true: kCDDownloadComplete, kCDErrorOccurred, or kCDAbortComplete.

If you subclass CyberStream, you must override this method. Your override must not call its inherited method; that is, your override method must implement this method's functionality completely.

SEE ALSO
The StreamStatus type (page 179).
The GetStreamStatus method (page 385).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996