Pol  Rev 533
AuxClientThread Class Reference

#include <auxclient.h>

+ Inheritance diagram for AuxClientThread:
+ Collaboration diagram for AuxClientThread:

List of all members.

Public Member Functions

 AuxClientThread (AuxService *auxsvc, SocketListener &listener)
 AuxClientThread (ScriptDef scriptdef, Socket &sock)
BObjectImpget_ip ()
virtual void run ()
void transmit (const BObjectImp *imp)

Private Member Functions

bool init ()
bool ipAllowed (sockaddr MyPeer)

Private Attributes

ref_ptr< AuxConnection_auxconnection
AuxService_auxservice
ScriptDef _scriptdef
weak_ptr< UOExecutor_uoexec

Detailed Description

Definition at line 52 of file auxclient.h.


Constructor & Destructor Documentation

Definition at line 97 of file auxclient.cpp.

AuxClientThread::AuxClientThread ( ScriptDef  scriptdef,
Socket sock 
)

Definition at line 103 of file auxclient.cpp.


Member Function Documentation

bool AuxClientThread::init ( ) [private]

Definition at line 111 of file auxclient.cpp.

References _auxconnection, _auxservice, SocketClientThread::_sck, _scriptdef, _uoexec, ref_ptr< T >::get(), Socket::getpeername(), ipAllowed(), Socket::peer_address(), AuxService::scriptdef(), ref_ptr< T >::set(), start_script(), and UOExecutor::weakptr.

Referenced by run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool AuxClientThread::ipAllowed ( sockaddr  MyPeer) [private]

Definition at line 132 of file auxclient.cpp.

References AuxService::_aux_ip_match, AuxService::_aux_ip_match_mask, and _auxservice.

Referenced by init().

+ Here is the caller graph for this function:

void AuxClientThread::transmit ( const BObjectImp imp)

Definition at line 205 of file auxclient.cpp.

References SocketClientThread::_sck, _uoexec, UOExecutor::auxsvc_assume_string, BObjectImp::getStringRep(), BObjectImp::pack(), and writeline().

Referenced by AuxConnection::call_method().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


Member Data Documentation

Definition at line 68 of file auxclient.h.

Referenced by init(), and run().

Definition at line 66 of file auxclient.h.

Referenced by init(), and ipAllowed().

Definition at line 67 of file auxclient.h.

Referenced by init().

Definition at line 69 of file auxclient.h.

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


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