commore
1.0.6-SNAPSHOT
|
Public Member Functions | |
TCPIPSender (const AString &address, bool safe) | |
~TCPIPSender () | |
void | interface_release () |
PSocketClient | get_socket_client (const AString &address, bool &new_sock) |
void | close_socket_client (PSocketClient socket) |
void | remove_socket_client (PSocketClient socket) |
void | release_socket_client (PSocketClient socket) |
bool | is_ok () |
bool | is_connected () |
int | call (const Tuple &inReq, Tuple &outReq) |
TimePeriod | get_comm_timeout () |
TimePeriod | get_connection_timeout () |
void | set_param (const Tuple ¶m) |
Tuple & | get_param (Tuple ¶m) |
![]() | |
Sender () | |
virtual | ~Sender () |
const AString & | get_address () const |
![]() | |
RefObject () | |
virtual | ~RefObject () |
virtual void | attach () |
virtual void | release () |
virtual void | nested_attach () |
virtual void | nested_release () |
virtual void | Run () |
virtual CriticalSection * | get_cs () |
Additional Inherited Members | |
![]() | |
static const AChar * | factory_name () |
![]() | |
static AutoRefBase | auto_create () |
static AutoRefBase | auto_create (const AChar *s) |
static AutoRefBase | create () |
static AutoRefBase | create (const AChar *s) |
static AutoRefBase | bind () |
static AutoRefBase | bind (const AChar *s) |
static const AChar * | factory_name () |
![]() | |
AString | address_ |
TCPIPSender::TCPIPSender | ( | const AString & | address, |
bool | safe | ||
) |
TCPIPSender::~TCPIPSender | ( | ) |
The Call method
Reimplemented from commore::Sender.
void TCPIPSender::close_socket_client | ( | PSocketClient | socket | ) |
TimePeriod TCPIPSender::get_comm_timeout | ( | ) |
TimePeriod TCPIPSender::get_connection_timeout | ( | ) |
Reimplemented from commore::Sender.
PSocketClient TCPIPSender::get_socket_client | ( | const AString & | address, |
bool & | new_sock | ||
) |
|
virtual |
Call when nested_release reach count 0 To be implemented by ref object
Reimplemented from commore::RefObject.
|
inlinevirtual |
Check if a connection have been created
Reimplemented from commore::Sender.
|
inlinevirtual |
Check Sender integrity Implementation return here possible invalid state
Reimplemented from commore::Sender.
void TCPIPSender::release_socket_client | ( | PSocketClient | socket | ) |
void TCPIPSender::remove_socket_client | ( | PSocketClient | socket | ) |
|
inlinevirtual |
Param management
Reimplemented from commore::Sender.