commore
1.0.6-SNAPSHOT
|
Public Member Functions | |
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 AString & | get_from_address () const |
const AString & | get_to_address () const |
const AString & | get_address () const |
![]() | |
Socket () | |
~Socket () | |
bool | is_busy () const |
void | set_busy (bool busy) |
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 |
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 () |
Public Attributes | |
TimeDate | start_connection_ |
TimeDate | start_message_ |
Protected Member Functions | |
SocketConnection & | operator= (const SocketConnection &) |
Protected Attributes | |
Descriptor | descriptor_ |
bool | is_connected_ |
bool | is_crypted_ |
AString | pass_phrase_ |
UseNetwork | init_ |
CommBuffer | inBuff_ |
AString | from_address_ |
AString | to_address_ |
AString | address_ |
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 () |
SocketConnection::SocketConnection | ( | ) |
SocketConnection::SocketConnection | ( | Descriptor | descriptor | ) |
SocketConnection::~SocketConnection | ( | ) |
|
virtual |
Implements Socket.
|
virtual |
Implements Socket.
|
inline |
|
inlinevirtual |
Implements Socket.
|
inlinevirtual |
Reimplemented from Socket.
|
inlinevirtual |
Implements Socket.
Reimplemented in SocketClient.
|
inline |
|
protected |
long SocketConnection::send_buffer | ( | CommBuffer & | buf | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
TimeDate SocketConnection::start_connection_ |
TimeDate SocketConnection::start_message_ |
|
protected |