|
Pol
Rev 533
|
#include <auxclient.h>
Inheritance diagram for AuxClientThread:
Collaboration diagram for AuxClientThread:Public Member Functions | |
| AuxClientThread (AuxService *auxsvc, SocketListener &listener) | |
| AuxClientThread (ScriptDef scriptdef, Socket &sock) | |
| BObjectImp * | get_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 |
Definition at line 52 of file auxclient.h.
| AuxClientThread::AuxClientThread | ( | AuxService * | auxsvc, |
| SocketListener & | listener | ||
| ) |
Definition at line 97 of file auxclient.cpp.
| AuxClientThread::AuxClientThread | ( | ScriptDef | scriptdef, |
| Socket & | sock | ||
| ) |
Definition at line 103 of file auxclient.cpp.
| 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::run | ( | ) | [virtual] |
Implements SocketClientThread.
Definition at line 154 of file auxclient.cpp.
References _auxconnection, SocketClientThread::_sck, _uoexec, UOExecutor::auxsvc_assume_string, ref_ptr< T >::clear(), Socket::close(), Socket::connected(), AuxConnection::disconnect(), weak_ptr< T >::exists(), init(), UOExecutor::os_module, readline(), OSExecutorModule::signal_event(), BObjectImp::unpack(), and writeline().
Here is the call 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:ref_ptr<AuxConnection> AuxClientThread::_auxconnection [private] |
Definition at line 68 of file auxclient.h.
AuxService* AuxClientThread::_auxservice [private] |
Definition at line 66 of file auxclient.h.
Referenced by init(), and ipAllowed().
ScriptDef AuxClientThread::_scriptdef [private] |
Definition at line 67 of file auxclient.h.
Referenced by init().
weak_ptr<UOExecutor> AuxClientThread::_uoexec [private] |
Definition at line 69 of file auxclient.h.
Referenced by init(), run(), and transmit().