commore
1.0.6-SNAPSHOT
|
Public Member Functions | |
Socket () | |
~Socket () | |
bool | is_busy () const |
void | set_busy (bool busy) |
virtual bool | is_connected () const =0 |
virtual Descriptor | get_descriptor () const =0 |
virtual bool | accept ()=0 |
virtual const AString & | get_from_address () const |
virtual const AString & | get_to_address () const |
virtual bool | accept_dispatch (const PTCPIPListenerBucket &listener) |
virtual void | set (PTCPIPListenerBucket listener) |
virtual PTCPIPListenerBucket | get_listener () |
virtual int | get_port () const |
virtual long | send_receive (CommBuffer &, CommBuffer &) |
virtual bool | is_acceptor () const |
virtual void | close ()=0 |
void | run () |
![]() | |
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::CriticalSection * | get_cs () |
![]() | |
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 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 () |
Socket::Socket | ( | ) |
Socket::~Socket | ( | ) |
|
pure virtual |
Implemented in SocketConnection, and SocketAcceptor.
|
inlinevirtual |
Reimplemented in SocketServer, and SocketAcceptor.
|
pure virtual |
Implemented in SocketConnection, and SocketAcceptor.
|
pure virtual |
Implemented in SocketConnection, and SocketAcceptor.
|
inlinevirtual |
Reimplemented in SocketConnection, and SocketAcceptor.
|
inlinevirtual |
Reimplemented in SocketServer, and SocketAcceptor.
|
inlinevirtual |
Reimplemented in SocketAcceptor.
|
inlinevirtual |
Reimplemented in SocketConnection.
|
inlinevirtual |
Reimplemented in SocketAcceptor.
|
inline |
|
pure virtual |
Implemented in SocketClient, SocketConnection, and SocketAcceptor.
|
inlinevirtual |
Run method to be implemented in derived class
Reimplemented from commore::Action.
|
inlinevirtual |
Reimplemented in SocketClient.
|
inlinevirtual |
Reimplemented in SocketServer, and SocketAcceptor.
|
inline |