|
commore
1.0.6-SNAPSHOT
|
Inheritance diagram for SocketClient:Public Member Functions | |
| SocketClient () | |
| SocketClient (const SocketClient &) | |
| SocketClient & | operator= (const SocketClient &) |
| SocketClient (const AString &address) | |
| ~SocketClient () | |
| bool | connect_to (const AString &address) |
| bool | connect_to (sockaddr *address) |
| bool | is_connected () const |
| long | send_receive (CommBuffer &, CommBuffer &) |
| void | interface_release () |
Public Member Functions inherited from SocketConnection | |
| SocketConnection () | |
| SocketConnection (Descriptor descriptor) | |
| ~SocketConnection () | |
| Descriptor | get_descriptor () 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 |
Public Member Functions inherited from Socket | |
| 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 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::CriticalSection * | get_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 | Run () |
Friends | |
| class | TCPIPSender |
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 AChar * | factory_name () |
Public Attributes inherited from SocketConnection | |
| TimeDate | start_connection_ |
| TimeDate | start_message_ |
Protected Member Functions inherited from SocketConnection | |
| SocketConnection & | operator= (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_ |
| SocketClient::SocketClient | ( | ) |
| SocketClient::SocketClient | ( | const SocketClient & | ) |
| SocketClient::SocketClient | ( | const AString & | address | ) |
| SocketClient::~SocketClient | ( | ) |
| bool SocketClient::connect_to | ( | const AString & | address | ) |
| bool SocketClient::connect_to | ( | sockaddr * | address | ) |
|
virtual |
Call when nested_release reach count 0 To be implemented by ref object
Reimplemented from commore::RefObject.
|
inlinevirtual |
Reimplemented from SocketConnection.
| SocketClient& SocketClient::operator= | ( | const SocketClient & | ) |
|
virtual |
Reimplemented from Socket.
|
friend |