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

Public Member Functions

 SocketServer (Descriptor descriptor)
 
 ~SocketServer ()
 
PTCPIPListenerBucket get_listener ()
 
void set (PTCPIPListenerBucket listener)
 
bool accept_dispatch (const PTCPIPListenerBucket &listener)
 
- Public Member Functions inherited from SocketConnection
 SocketConnection ()
 
 SocketConnection (Descriptor descriptor)
 
 ~SocketConnection ()
 
Descriptor get_descriptor () const
 
bool is_connected () const
 
bool is_receiving () const
 
bool accept ()
 
long send_buffer (CommBuffer &buf)
 
void close ()
 
const AStringget_from_address () const
 
const AStringget_to_address () const
 
const AStringget_address () const
 
- Public Member Functions inherited from Socket
 Socket ()
 
 ~Socket ()
 
bool is_busy () const
 
void set_busy (bool busy)
 
virtual int get_port () const
 
virtual long send_receive (CommBuffer &, CommBuffer &)
 
virtual bool is_acceptor () const
 
void run ()
 
- Public Member Functions inherited from commore::Action
 Action ()
 
virtual ~Action ()
 
void submit (Processor &processor)
 
void stop (Processor &processor, bool wait=true)
 
void abort (Processor &processor, bool wait=true)
 
bool is_to_stop ()
 
bool is_to_abort ()
 
bool is_running ()
 
bool is_stopped ()
 
int wait (Processor &processor, const int timeout_ms=0)
 
void reset ()
 
commore::CriticalSectionget_cs ()
 
- 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 ()
 

Additional Inherited Members

- 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 ()
 
- Public Attributes inherited from SocketConnection
TimeDate start_connection_
 
TimeDate start_message_
 
- Protected Member Functions inherited from SocketConnection
SocketConnectionoperator= (const SocketConnection &)
 
- Protected Attributes inherited from SocketConnection
Descriptor descriptor_
 
bool is_connected_
 
bool is_crypted_
 
AString pass_phrase_
 
UseNetwork init_
 
CommBuffer inBuff_
 
AString from_address_
 
AString to_address_
 
AString address_
 

Constructor & Destructor Documentation

SocketServer::SocketServer ( Descriptor  descriptor)
SocketServer::~SocketServer ( )

Member Function Documentation

bool SocketServer::accept_dispatch ( const PTCPIPListenerBucket listener)
virtual

Reimplemented from Socket.

PTCPIPListenerBucket SocketServer::get_listener ( )
inlinevirtual

Reimplemented from Socket.

void SocketServer::set ( PTCPIPListenerBucket  listener)
inlinevirtual

Reimplemented from Socket.


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