OverSim
XmlRpc::XmlRpcThreadedServer::Worker Class Reference

Execute a request. More...

#include <XmlRpcThreadedServer.h>

Inheritance diagram for XmlRpc::XmlRpcThreadedServer::Worker:
XmlRpc::XmlRpcRunnable

Public Member Functions

 Worker ()
 Constructor. Executes the run method in a separate thread.
void run ()
 Implement the Runnable interface.

Protected Attributes

XmlRpcThread _thread
 The thread this worker is running in.

Additional Inherited Members

- Private Member Functions inherited from XmlRpc::XmlRpcRunnable
virtual void run ()=0
 Code to be executed.

Detailed Description

Execute a request.

Each client request is assigned to one worker to handle. Workers are executed on separate threads, and one worker may be responsible for dispatching events to multiple client connections.

Definition at line 45 of file XmlRpcThreadedServer.h.

Constructor & Destructor Documentation

XmlRpc::XmlRpcThreadedServer::Worker::Worker ( )
inline

Constructor. Executes the run method in a separate thread.

Definition at line 48 of file XmlRpcThreadedServer.h.

Member Function Documentation

void XmlRpc::XmlRpcThreadedServer::Worker::run ( )

Implement the Runnable interface.

Member Data Documentation

XmlRpcThread XmlRpc::XmlRpcThreadedServer::Worker::_thread
protected

The thread this worker is running in.

Definition at line 56 of file XmlRpcThreadedServer.h.

Referenced by Worker().


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