|
| DatagramSocket (const Mode mode, const INetAddress &address, TransportFactory *transportFactory=NULL) |
|
Mode | getMode () const |
|
const bool | isReadOnly () const |
|
const bool | isWriteOnly () const |
|
void | connect () noexcept(false) |
|
| 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) |
|
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 |
|
Esta clase implementa un Socket no orientado a conexion.