Pol  Revision:cb584c9
Pol::Network::AuxClientThread Class Reference

#include <auxclient.h>

+ Inheritance diagram for Pol::Network::AuxClientThread:

Public Member Functions

 AuxClientThread (AuxService *auxsvc, Clib::SocketListener &listener)
 
 AuxClientThread (Core::ScriptDef scriptdef, Clib::Socket &sock, Bscript::BObjectImp *params, bool assume_string)
 
Bscript::BObjectImpget_ip ()
 
virtual void run () POL_OVERRIDE
 
void transmit (const Bscript::BObjectImp *imp)
 
- Public Member Functions inherited from Pol::Clib::SocketClientThread
 SocketClientThread (SocketListener &SL)
 
 SocketClientThread (Socket &S)
 
virtual ~SocketClientThread ()
 
void start ()
 

Private Member Functions

bool init ()
 
bool ipAllowed (sockaddr MyPeer)
 
void transmit (const std::string &msg)
 

Private Attributes

bool _assume_string
 
ref_ptr< AuxConnection_auxconnection
 
AuxService_auxservice
 
Bscript::BObjectImp_params
 
Core::ScriptDef _scriptdef
 
std::atomic< int > _transmit_counter
 
weak_ptr< Core::UOExecutor_uoexec
 

Additional Inherited Members

- Static Public Member Functions inherited from Pol::Clib::SocketClientThread
static void start_thread (SocketClientThread *instance)
 
- Protected Attributes inherited from Pol::Clib::SocketClientThread
Socket _sck
 

Detailed Description

Definition at line 102 of file auxclient.h.

Constructor & Destructor Documentation

Pol::Network::AuxClientThread::AuxClientThread ( AuxService auxsvc,
Clib::SocketListener listener 
)

Definition at line 98 of file auxclient.cpp.

Pol::Network::AuxClientThread::AuxClientThread ( Core::ScriptDef  scriptdef,
Clib::Socket sock,
Bscript::BObjectImp params,
bool  assume_string 
)

Definition at line 109 of file auxclient.cpp.

Member Function Documentation

Bscript::BObjectImp* Pol::Network::AuxClientThread::get_ip ( )
bool Pol::Network::AuxClientThread::ipAllowed ( sockaddr  MyPeer)
private
void Pol::Network::AuxClientThread::transmit ( const std::string &  msg)
private

Member Data Documentation

bool Pol::Network::AuxClientThread::_assume_string
private

Definition at line 121 of file auxclient.h.

Referenced by init().

ref_ptr<AuxConnection> Pol::Network::AuxClientThread::_auxconnection
private

Definition at line 117 of file auxclient.h.

Referenced by init(), and run().

AuxService* Pol::Network::AuxClientThread::_auxservice
private

Definition at line 116 of file auxclient.h.

Referenced by init(), and ipAllowed().

Bscript::BObjectImp* Pol::Network::AuxClientThread::_params
private

Definition at line 120 of file auxclient.h.

Referenced by init().

Core::ScriptDef Pol::Network::AuxClientThread::_scriptdef
private

Definition at line 119 of file auxclient.h.

Referenced by init().

std::atomic<int> Pol::Network::AuxClientThread::_transmit_counter
private

Definition at line 122 of file auxclient.h.

Referenced by run(), and transmit().

weak_ptr<Core::UOExecutor> Pol::Network::AuxClientThread::_uoexec
private

Definition at line 118 of file auxclient.h.

Referenced by init(), run(), and transmit().


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