AndroMeta  2.0.0
Public Member Functions
Meta::MNetProc Class Reference

Provides a general-purpose means to implement network processes such as those needed by client/server programs. More...

#include <MNetProc.h>

Inheritance diagram for Meta::MNetProc:
Meta::MProc Meta::MCommunicator Meta::MSocket

List of all members.

Public Member Functions

 MNetProc (MProcTask *task, MMessageBuffer *sendBuffer=0, MMessageBuffer *receiveBuffer=0)
virtual ~MNetProc ()
virtual void init ()
virtual void mapSignals (const SignalMap &signalMap, mvar &smap)
virtual mvar run ()
virtual mvar run (mvar &smap)
mvar run (SignalMap &signalMap)
mvarsession ()

Detailed Description

Provides a general-purpose means to implement network processes such as those needed by client/server programs.

Combines the functionality of MProc and MCommunicator to provide a general-purpose means to implement network processes. MNetProc's are spawned by MClient and MServer to implement request/response processes.


Constructor & Destructor Documentation

Meta::MNetProc::MNetProc ( MProcTask task,
MMessageBuffer sendBuffer = 0,
MMessageBuffer receiveBuffer = 0 
)

Constructor. Parameters from MCommunicator.

virtual Meta::MNetProc::~MNetProc ( ) [virtual]

Destructor.


Member Function Documentation

virtual void Meta::MNetProc::init ( ) [virtual]

Application-specific initialization.

virtual void Meta::MNetProc::mapSignals ( const SignalMap signalMap,
mvar smap 
) [virtual]

Application-specific mapping from MProc::SignalMap to mvar.

virtual mvar Meta::MNetProc::run ( ) [virtual]

Application-specific run without an smap.

Returns:
If undef is returned, run(1) will be called.
virtual mvar Meta::MNetProc::run ( mvar smap) [virtual]

Application-specific run with an smap. Return value is current ignored.

mvar Meta::MNetProc::run ( SignalMap signalMap) [virtual]

Do not call directly.

Reimplemented from Meta::MProc.

Retrieve/set session data associated with the connection.


The documentation for this class was generated from the following file: