ANNA Suite  2020b
Multipurpose development suite for Telco applications
Static Public Member Functions | Friends | List of all members
anna::comm::BinderSocket Class Reference

#include <BinderSocket.hpp>

Inheritance diagram for anna::comm::BinderSocket:
Inheritance graph
[legend]
Collaboration diagram for anna::comm::BinderSocket:
Collaboration graph
[legend]

Static Public Member Functions

static const char * className ()
 
- Static Public Member Functions inherited from anna::comm::ClientSocket
static const char * className ()
 

Friends

class ServerSocket
 
class handler::BinderSocket
 

Additional Inherited Members

- Public Member Functions inherited from anna::comm::ClientSocket
 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 AccessPointgetRemoteAccessPoint () const
 
bool isConnected () const
 
bool isSynchronized () const
 
bool isCorrupt () const
 
bool isClosedPending () const
 
ServergetServer () noexcept(false)
 
const MillisecondgetMaxConnectionDelay () const
 
const MillisecondgetMaxWriteDelay () 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 ()
 
TransportgetTransport () noexcept(false)
 
ReceivergetReceiver () noexcept(false)
 
void setReceiver (Receiver *receive) noexcept(false)
 
void requestClose ()
 
bool hasRequestedClose () const
 
virtual std::string asString () const
 
virtual xml::NodeasXML (xml::Node *parent) const noexcept(false)
 
- Public Member Functions inherited from anna::comm::Socket
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 AccessPointgetLocalAccessPoint () const
 
TransportFactorygetTransportFactory () const
 
ReceiverFactorygetReceiverFactory ()
 
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)
 
- Public Member Functions inherited from anna::Mutex
 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 Public Attributes inherited from anna::comm::ClientSocket
static const Millisecond DefaultMaxConnectionDelay
 
static const Millisecond DefaultMaxWriteDelay
 
- Protected Member Functions inherited from anna::comm::ClientSocket
int getBufferSize () const
 
int getReceiveBufferSize () const
 
void getSocketOptions () noexcept(false)
 
Notify::_v receive () noexcept(false)
 
const DataBlockfetch () 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 ()
 
- Protected Member Functions inherited from anna::comm::Socket
 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)
 
- Protected Member Functions inherited from anna::Safe
 Safe ()
 
- Static Protected Member Functions inherited from anna::comm::Socket
static const char * asText (const Notify::_v v)
 
- Protected Attributes inherited from anna::comm::ClientSocket
Transporta_transport
 
AccessPoint a_remoteAccessPoint
 
- Protected Attributes inherited from anna::comm::Socket
const Domain::_v a_domain
 
const Type::_v a_type
 
int a_fd
 
AccessPoint a_localAccessPoint
 
bool a_isBound
 
TransportFactorya_transportFactory
 
ReceiverFactorya_receiverFactory
 
int a_category
 

Member Function Documentation

◆ className()

static const char* anna::comm::BinderSocket::className ( )
inlinestatic
29 { return "anna::comm::BinderSocket"; }
Here is the call graph for this function:

Friends And Related Function Documentation

◆ handler::BinderSocket

friend class handler::BinderSocket
friend

◆ ServerSocket

friend class ServerSocket
friend

The documentation for this class was generated from the following file: