Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

msg_listener Class Reference

abstract class for listener implementation More...

#include <msg_lsnr.h>

Inheritance diagram for msg_listener:

msg_base terimber_log_helper terimber_log msg_rpc_listener msg_sock_listener

List of all members.

Public Member Functions

 msg_listener (msg_communicator *communicator, const conf_listener &info)
 constructor
virtual ~msg_listener ()
 destructor
virtual transport_type get_type () const =0
 returns the type of listener - abstruct function
const conf_listenerget_info () const
 returns the info

Static Public Member Functions

static void accept_address (const guid_t &addr, const conf_listener &linfo, conf_connection &cinfo)
 checks if listener accept connection

Protected Attributes

conf_listener _info
 listener info


Detailed Description

abstract class for listener implementation

Definition at line 39 of file msg_lsnr.h.


Constructor & Destructor Documentation

msg_listener::msg_listener ( msg_communicator communicator,
const conf_listener info 
)

constructor

Parameters:
communicator  pointer to communicator
info  listener info

Definition at line 40 of file msg_lsnr.cpp.

msg_listener::~msg_listener (  )  [virtual]

destructor

Definition at line 46 of file msg_lsnr.cpp.


Member Function Documentation

virtual transport_type msg_listener::get_type (  )  const [pure virtual]

returns the type of listener - abstruct function

Implemented in msg_rpc_listener, and msg_sock_listener.

void msg_listener::accept_address ( const guid_t addr,
const conf_listener linfo,
conf_connection cinfo 
) [static]

const conf_listener& msg_listener::get_info (  )  const [inline]

returns the info

Definition at line 64 of file msg_lsnr.h.

References _info.

Referenced by ServerConnect().


Member Data Documentation


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


© Copyright Terimber 2003-.