commore  1.0.6-SNAPSHOT
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TCPIPSender Class Reference
+ Inheritance diagram for TCPIPSender:

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 &param)
 
Tupleget_param (Tuple &param)
 
- Public Member Functions inherited from commore::Sender
 Sender ()
 
virtual ~Sender ()
 
const AStringget_address () const
 
- Public Member Functions inherited from commore::RefObject
 RefObject ()
 
virtual ~RefObject ()
 
virtual void attach ()
 
virtual void release ()
 
virtual void nested_attach ()
 
virtual void nested_release ()
 
virtual void Run ()
 
virtual CriticalSectionget_cs ()
 

Additional Inherited Members

- Static Public Member Functions inherited from commore::Sender
static const ACharfactory_name ()
 
- Static Public Member Functions inherited from commore::RefObject
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 ACharfactory_name ()
 
- Protected Attributes inherited from commore::Sender
AString address_
 

Constructor & Destructor Documentation

TCPIPSender::TCPIPSender ( const AString address,
bool  safe 
)
TCPIPSender::~TCPIPSender ( )

Member Function Documentation

int TCPIPSender::call ( const Tuple in_req,
Tuple out_req 
)
virtual

The Call method

Reimplemented from commore::Sender.

void TCPIPSender::close_socket_client ( PSocketClient  socket)
TimePeriod TCPIPSender::get_comm_timeout ( )
TimePeriod TCPIPSender::get_connection_timeout ( )
Tuple& TCPIPSender::get_param ( Tuple param)
inlinevirtual

Reimplemented from commore::Sender.

PSocketClient TCPIPSender::get_socket_client ( const AString address,
bool &  new_sock 
)
void TCPIPSender::interface_release ( )
virtual

Call when nested_release reach count 0 To be implemented by ref object

Todo:
is usefull

Reimplemented from commore::RefObject.

bool TCPIPSender::is_connected ( )
inlinevirtual

Check if a connection have been created

Reimplemented from commore::Sender.

bool TCPIPSender::is_ok ( )
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)
void TCPIPSender::set_param ( const Tuple param)
inlinevirtual

Param management

Reimplemented from commore::Sender.


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