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


GetLastModTime

Retrieves the last modification time for the data in this Cyberdog stream.

ODTime GetLastModTime ();
return value
The time the stream was last modified.
DISCUSSION
This method should return the time the data downloaded by this stream object was last modified. You can determine whether the last modification time is available by calling the IsLastModTimeAvailable method.

GetLastModTime should return the constant kCDLastModTimeUnknowable if the last modification time will never be available or if last modification time does not make sense for the protocol implemented by the stream. GetLastModTime should return the constant kCDLastModTimeUnknown if the last modification time is not known, but may be known at a later time.

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

SEE ALSO
The IsLastModTimeAvailable method (page 387).

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996