Communication class between DDserver and client.
Inheritance:
Public Methods
-
ddnCmd( int cmd = rDD::eCmdNoop, int par = 0, int len = 0 )
- Constructor.
-
inline int getCmd()
- Returns the command
-
inline int getPar()
- Returns the additional integer parameter
-
int objToSocket( int file_descriptor )
- Writes the object into the socket.
-
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.
ddnCmd( int cmd = rDD::eCmdNoop, int par = 0, int len = 0 )
- Constructor. We get a noop command by default.
inline int getCmd()
- Returns the command
inline int getPar()
- Returns the additional integer parameter
int objToSocket( int file_descriptor )
- Writes the object into the socket. Inherited from otnetObject.
int 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++.