Service Class Reference

Services base class, independent of network type. More...

#include <Service.h>

Inheritance diagram for Service:

[legend]
List of all members.

Public Member Functions

virtual ~Service ()
 destructor
virtual bool handle ()=0
 handle the service

Detailed Description

Services base class, independent of network type.

this class is the services base class, which is independent of the underlying transport system

The handle() method should not block and should do some small unit of work. The Services are designed to live in a single thread, so if one does block other work will be suspended.

Author:
Daniel Holth Created: 23 Jan. 2002

Martin Rumori Modified: 02/2003


Member Function Documentation

virtual bool Service::handle  )  [pure virtual]
 

handle the service

Returns:
true on success, false on error or when the Service is finished

Implemented in InetTCPMaster, InetTCPSlave, InetTransport, and InetUDPMaster.


The documentation for this class was generated from the following file:
Generated on Thu Mar 2 23:51:36 2006 for libOSC++ by  doxygen 1.4.6