compp::ASrv Class Reference

#include <ASrv.h>

Inheritance diagram for compp::ASrv:
Inheritance graph
[legend]
Collaboration diagram for compp::ASrv:
Collaboration graph
[legend]

Public Member Functions

 ASrv ()
 ASrv (const int port)
 ASrv (const std::string &IPAddr, const int port)
virtual ~ASrv ()
void Broadcast (const bool BC)
void AddMultiCastGroup (const std::string &IPAddr)
void commenceWork ()
void setPort (const int p)
void setIPAddr (const std::string &s)
virtual std::string executeTransaction (const std::string &request, ASrvContext &Context)
void * Run (void *v)

Protected Attributes

std::string IPAddr
int port
compp::SocketUdp Server

Detailed Description

Definition at line 16 of file ASrv.h.


Constructor & Destructor Documentation

compp::ASrv::ASrv (  ) 

Definition at line 17 of file ASrv.cpp.

compp::ASrv::ASrv ( const int  port  ) 

Definition at line 21 of file ASrv.cpp.

Here is the call graph for this function:

compp::ASrv::ASrv ( const std::string &  IPAddr,
const int  port 
)

Definition at line 28 of file ASrv.cpp.

Here is the call graph for this function:

compp::ASrv::~ASrv (  ) 

Definition at line 14 of file ASrv.cpp.


Member Function Documentation

void compp::ASrv::AddMultiCastGroup ( const std::string &  IPAddr  ) 

Definition at line 39 of file ASrv.cpp.

Here is the call graph for this function:

void compp::ASrv::Broadcast ( const bool  BC  ) 

Definition at line 35 of file ASrv.cpp.

Here is the call graph for this function:

void compp::ASrv::commenceWork (  ) 

Definition at line 43 of file ASrv.cpp.

Here is the call graph for this function:

std::string compp::ASrv::executeTransaction ( const std::string &  request,
ASrvContext Context 
) [virtual]

Reimplemented in TestServerClass.

Definition at line 172 of file ASrv.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void * compp::ASrv::Run ( void *  v  )  [virtual]

Implements compp::Thread.

Definition at line 64 of file ASrv.cpp.

Here is the call graph for this function:

void compp::ASrv::setIPAddr ( const std::string &  s  )  [inline]

Definition at line 29 of file ASrv.h.

Here is the caller graph for this function:

void compp::ASrv::setPort ( const int  p  )  [inline]

Definition at line 28 of file ASrv.h.

Here is the caller graph for this function:


Field Documentation

std::string compp::ASrv::IPAddr [protected]

Definition at line 37 of file ASrv.h.

int compp::ASrv::port [protected]

Definition at line 38 of file ASrv.h.

Definition at line 39 of file ASrv.h.


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Tue Dec 28 16:48:08 2010 for Com++ by  doxygen 1.6.3