Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Ishtar::Call Class Reference

#include <services.h>

Inheritance diagram for Ishtar::Call:

Ishtar::GetServicesCall Ishtar::GetValuesCall Ishtar::HelloCall Ishtar::SetValuesCall List of all members.

Detailed Description

An interface for calls to server.


Public Types

enum  Type { HELLO = 0, GET_SERVICE_LIST, GET_VALUES, SET_VALUES }
 The type of call. More...

Public Member Functions

virtual ~Call ()
 Destructor.
virtual void serialize (OutputStream *stream)=0
 Serialize this call to stream.
virtual void deserializeSpecified (InputStream *stream)=0
 Deserialize this call from stream, the type has already been read because the Call is already created.
virtual Answerexecute (ServicesContainer *registrar)
 Execute this call of the ServiceContainer registrar and return the corresponding answer. Return NULL if there is no answer.

Static Public Member Functions

static Calldeserialize (InputStream *stream)
 Deserialize a Call from a stream and return it. First read the type, then create the corresponding Call and call deserializeSpecified on it.


Member Enumeration Documentation

enum Ishtar::Call::Type
 

The type of call.

Enumeration values:
HELLO  Hello call for connection.
GET_SERVICE_LIST  Service list request.
GET_VALUES  Values read request.
SET_VALUES  Values write request.


The documentation for this class was generated from the following files:
Generated on Mon Oct 24 17:31:22 2005 for libishtarservices by  doxygen 1.4.2