Important: The information in this document is obsolete and should not be used for new development.
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 totrue
:kCDDownloadComplete
,kCDErrorOccurred
, orkCDAbortComplete
.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
TheStreamStatus
type (page 179).
TheGetStreamStatus
method (page 385).