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


Abort

Terminates a download operation being performed by this Cyberdog stream.

void Abort ();
DISCUSSION
This method should notify this stream object to terminate a download operation. Abort is potentially an asynchronous operation. You can determine whether the abort operation has completed by calling the GetStreamStatus method and testing the value of the kCDAbortComplete flag.

You should not delete the stream object until you have determined that the abort operation has completed.

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