|
| ClientSocket (TransportFactory *transportFactory=NULL, Domain::_v domain=Socket::Domain::Inet, Type::_v type=Socket::Type::Stream) |
|
| ClientSocket (const INetAddress &remoteAddress, TransportFactory *transportFactory=NULL, const Type::_v type=Socket::Type::Stream) |
|
| ClientSocket (const std::string &path, const Type::_v type=Socket::Type::Stream) |
|
| ClientSocket (const INetAddress &remoteAddress, const INetAddress &localAddress, TransportFactory *transportFactory=NULL, const Type::_v type=Socket::Type::Stream) |
|
virtual | ~ClientSocket () |
|
const AccessPoint & | getRemoteAccessPoint () const |
|
bool | isConnected () const |
|
bool | isSynchronized () const |
|
bool | isCorrupt () const |
|
bool | isClosedPending () const |
|
Server * | getServer () noexcept(false) |
|
const Millisecond & | getMaxConnectionDelay () const |
|
const Millisecond & | getMaxWriteDelay () const |
|
virtual void | setfd (const int fd) noexcept(false) |
|
void | setMaxConnectionDelay (const Millisecond &msMaxConnectionDelay) |
|
void | setMaxWriteDelay (const Millisecond &msMaxWriteDelay) |
|
bool | getIgnoreIncomingMessages () const |
|
void | setIgnoreIncomingMessages (const bool ignoreIncomingMessages) |
|
virtual void | connect () noexcept(false) |
|
void | send (Message &message) noexcept(false) |
|
void | send (Message *message) noexcept(false) |
|
Notify::_v | wait (const Millisecond &timeout, const bool receive=true) noexcept(false) |
|
void | forgot () |
|
Transport * | getTransport () noexcept(false) |
|
Receiver * | getReceiver () noexcept(false) |
|
void | setReceiver (Receiver *receive) noexcept(false) |
|
void | requestClose () |
|
bool | hasRequestedClose () const |
|
virtual std::string | asString () const |
|
virtual xml::Node * | asXML (xml::Node *parent) const noexcept(false) |
|
virtual | ~Socket () |
|
int | getfd () const |
|
Type::_v | getType () const |
|
Domain::_v | getDomain () const |
|
int | getCategory () const |
|
bool | support (const char *transportClassName) const |
|
bool | isBound () const |
|
bool | isOpened () const |
|
virtual bool | isSecure () const |
|
const AccessPoint & | getLocalAccessPoint () const |
|
TransportFactory * | getTransportFactory () const |
|
ReceiverFactory * | getReceiverFactory () |
|
bool | setBlockingMode (const bool blockingMode) noexcept(false) |
|
bool | setReuseMode (const bool reuseMode) noexcept(false) |
|
void | setTransportFactory (TransportFactory *transportFactory) |
|
void | setReceiverFactory (ReceiverFactory &receiverFactory) |
|
void | setCategory (const int category) |
|
void | close () |
|
virtual void | bind () noexcept(false) |
|
| Mutex (const Mode::_v mode=Mode::Recursive) |
|
virtual | ~Mutex () |
|
virtual void | lock () noexcept(false) |
|
virtual void | unlock () |
|
bool | trylock () noexcept(false) |
|
| operator const pthread_mutex_t * () const |
|
static const Millisecond | DefaultMaxConnectionDelay |
|
static const Millisecond | DefaultMaxWriteDelay |
|
int | getBufferSize () const |
|
int | getReceiveBufferSize () const |
|
void | getSocketOptions () noexcept(false) |
|
Notify::_v | receive () noexcept(false) |
|
const DataBlock * | fetch () noexcept(false) |
|
void | activate (const Status::_v v) |
|
void | deactivate (const Status::_v v) |
|
void | deactivate (const int v) |
|
virtual int | do_connect (const sockaddr *, const int len) noexcept(false) |
|
virtual void | do_write (const DataBlock &) noexcept(false) |
|
virtual int | do_read (const char *data, const int size) noexcept(false) |
|
virtual void | do_close () |
|
| Socket (const Domain::_v domain, const Type::_v type, TransportFactory *transportFactory=NULL) |
|
| Socket (const INetAddress &localAddress, const Type::_v type, TransportFactory *transportFactory=NULL) |
|
| Socket (const std::string &path, const Type::_v type, TransportFactory *transportFactory=NULL) |
|
void | open () noexcept(false) |
|
virtual int | do_bind (const struct sockaddr *, const int) noexcept(false) |
|
| Safe () |
|
static const char * | asText (const Notify::_v v) |
|
Transport * | a_transport |
|
AccessPoint | a_remoteAccessPoint |
|
const Domain::_v | a_domain |
|
const Type::_v | a_type |
|
int | a_fd |
|
AccessPoint | a_localAccessPoint |
|
bool | a_isBound |
|
TransportFactory * | a_transportFactory |
|
ReceiverFactory * | a_receiverFactory |
|
int | a_category |
|