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 / CyberSession


GetCyberService

Retrieves a Cyberdog service by index.

CyberService GetCyberService (in long index);
index
The zero-based index of the CyberService object to be retrieved.
return value
The CyberService object specified by the index.
DISCUSSION
This method retrieves by index a Cyberdog service object. You can use this method in conjunction with the CountCyberServices method to iterate through the available services.

Service objects are allocated once and are owned by the session object, so you should not delete them.

Do not subclass this class.

SEE ALSO
The CountCyberServices method (page 354).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996