commore  1.0.6-SNAPSHOT
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
commore::Sender Class Reference

#include <Sender.h>

+ Inheritance diagram for commore::Sender:

Public Member Functions

 Sender ()
 
virtual ~Sender ()
 
const AStringget_address () const
 
virtual bool is_ok ()
 
virtual bool is_connected ()
 
virtual int call (const Tuple &in_req, Tuple &out_req)
 
virtual void set_param (const Tuple &param)
 
virtual Tupleget_param (Tuple &param)
 
- 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 interface_release ()
 
virtual void Run ()
 
virtual CriticalSectionget_cs ()
 

Static Public Member Functions

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

AString address_
 

Constructor & Destructor Documentation

Sender::Sender ( )
Sender::~Sender ( )
virtual

Member Function Documentation

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

The Call method

Reimplemented in SHMSender, and TCPIPSender.

Examples:
/examples/coding/Sender.cpp.
static const AChar* commore::Sender::factory_name ( )
inlinestatic
const AString& commore::Sender::get_address ( ) const
inline
Returns
bind address
Tuple & Sender::get_param ( Tuple param)
virtual

Reimplemented in TCPIPSender.

Examples:
/examples/coding/Sender.cpp.
bool Sender::is_connected ( )
virtual

Check if a connection have been created

Reimplemented in SHMSender, and TCPIPSender.

bool Sender::is_ok ( )
virtual

Check Sender integrity Implementation return here possible invalid state

Reimplemented in SHMSender, and TCPIPSender.

void Sender::set_param ( const Tuple param)
virtual

Param management

Reimplemented in TCPIPSender.

Member Data Documentation

AString commore::Sender::address_
protected

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