class ddnCmd

Communication class between DDserver and client.

Inheritance:


Public Methods

[more] ddnCmd( int cmd = rDD::eCmdNoop, int par = 0, int len = 0 )
Constructor.
[more]inline int getCmd()
Returns the command
[more]inline int getPar()
Returns the additional integer parameter
[more]int objToSocket( int file_descriptor )
Writes the object into the socket.
[more]int objFromSocket( int file_descriptor)
Reads the object from the socket.


Documentation

Communication class between DDserver and client.
ddnCmd is the class whose instances are passed between a remote DD client and its corresponding server on the host where the DD pool resides. It inherits from the class otnetObject the ability to be written/read into/from a socket.
A ddnCmd has two parameters, an integer which corresponds to the command code and an integer parameter, which can hold additional information if needed.

o ddnCmd( int cmd = rDD::eCmdNoop, int par = 0, int len = 0 )
Constructor. We get a noop command by default.

oinline int getCmd()
Returns the command

oinline int getPar()
Returns the additional integer parameter

oint objToSocket( int file_descriptor )
Writes the object into the socket. Inherited from otnetObject.

oint objFromSocket( int file_descriptor)
Reads the object from the socket. Inherited from otnetObject.


This class has no child classes.
Author:
C.Witzig
Date: May 23, 99
Version:
Last update August 21, 99

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.