Important: The information in this document is obsolete and should not be used for new development.
Creating a Cyberdog Service
This document is an addendum to Part 2 of the Cyberdog Programmer's Kit. It outlines the steps you take to implement a Cyberdog service, which provides a network protocol. A network protocol defines the conventions for communication between interconnected computers. Cyberdog supports HTTP, Gopher, FTP, Telnet, and SMTP protocols. You only need to create a service to replace an existing service or to support a protocol that is not already provided by Cyberdog. This document shows you how to implement
This addendum shows how to use these classes and parts to create a Finger service, which is a protocol built on TCP to query a host computer for the login status of a user. The examples shown here are based on the
- a Cyberdog service class and a service (
'srvc'
) resource- a service's Cyberdog menu items
- a Cyberdog item class representing the kind of item that your service manipulates
- a Cyberdog stream class to retrieve data from the item's location
- parts to display the Connect To and Preferences panels
FingerService
sample. Complete source code for the sample is on the Cyberdog Programmer's Kit CD.
Contents
- About Cyberdog Services
- Implementing Your Cyberdog Service Class
- Implementing Your Cyberdog Item Class
- Implementing Your Cyberdog Stream Class
- Implementing Your Cyberdog Panel Parts
- Index