module_webservice::CommandWebservice Class Reference

This command runs a multi-threaded SOAP webservice server. More...

#include <module.h>

Inheritance diagram for module_webservice::CommandWebservice:
frepple::utils::Command

List of all members.

Classes

struct  thread_data

Public Member Functions

 CommandWebservice ()
void execute ()
string getDescription () const
virtual ~CommandWebservice ()

Static Public Member Functions

static unsigned int getPort ()
static unsigned int getThreads ()
static PyObject * pythonService (PyObject *, PyObject *)
static void setPort (int i)
static void setThreads (int i)

Detailed Description

This command runs a multi-threaded SOAP webservice server.

Definition at line 63 of file module.h.


Constructor & Destructor Documentation

module_webservice::CommandWebservice::CommandWebservice (  )  [inline, explicit]

Default constructor.

Definition at line 108 of file module.h.

virtual module_webservice::CommandWebservice::~CommandWebservice (  )  [inline, virtual]

Destructor.

Definition at line 111 of file module.h.


Member Function Documentation

void module_webservice::CommandWebservice::execute (  )  [virtual]

Runs the webservice server.

Implements frepple::utils::Command.

Definition at line 56 of file server.cpp.

string module_webservice::CommandWebservice::getDescription (  )  const [inline]

Returns a descriptive string.

Definition at line 105 of file module.h.

static unsigned int module_webservice::CommandWebservice::getPort (  )  [inline, static]

Returns the port number.

Definition at line 114 of file module.h.

static unsigned int module_webservice::CommandWebservice::getThreads (  )  [inline, static]

Returns the number of threads for the server.

Definition at line 125 of file module.h.

PyObject * module_webservice::CommandWebservice::pythonService ( PyObject *  self,
PyObject *  args 
) [static]

Python interface for the webservice server.

Definition at line 39 of file server.cpp.

static void module_webservice::CommandWebservice::setPort ( int  i  )  [inline, static]

Updates the port number.

Definition at line 117 of file module.h.

static void module_webservice::CommandWebservice::setThreads ( int  i  )  [inline, static]

Updates the number of threads for the server.

Definition at line 128 of file module.h.


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

Generated on 21 Mar 2010 for frePPLe by  doxygen 1.6.1