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

#include <ServerSocket.hpp>

Inheritance diagram for anna::comm::handler::ServerSocket:
Inheritance graph
[legend]
Collaboration diagram for anna::comm::handler::ServerSocket:
Collaboration graph
[legend]

Public Member Functions

 ServerSocket (Communicator *communicator)
 
void setup (comm::ServerSocket *serverSocket)
 
- Public Member Functions inherited from anna::comm::Handler
Type::_v getType () const
 
int getfd () const
 
bool supportCongestionControl () const
 
bool supportTimeout () const
 
bool operator== (const int fd) const
 
virtual ClientSocketgetClientSocket ()
 
void asAttribute (xml::Node *node) const noexcept(false)
 
- Public Member Functions inherited from anna::Runnable
const std::string & getId () const
 
bool hasRequestedStop () const
 
bool isRunning () const
 
void requestStop () 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
 

Additional Inherited Members

- Protected Member Functions inherited from anna::comm::Handler
 Handler (Communicator *communicator, const Type::_v type, const int support=Support::CongestionControl)
 
 Handler (const Type::_v type, const int support=Support::CongestionControl)
 
void setfd (const int fd)
 
void setTimeout (const Millisecond &timeout)
 
bool canContinue () const
 
virtual void recoverAddress (const in_addr_t &address)
 
virtual bool testClose () noexcept(false)
 
virtual void clone () noexcept(false)
 
- Protected Member Functions inherited from anna::Runnable
 Runnable ()
 
 Runnable (const std::string &id)
 
 Runnable (const char *id)
 
void setId (const std::string &id)
 
void setIsRunning (const bool isRunning)
 
virtual void run () noexcept(false)
 
virtual void terminate ()
 
- Protected Member Functions inherited from anna::Safe
 Safe ()
 
- Protected Attributes inherited from anna::comm::Handler
Communicatora_communicator
 

Constructor & Destructor Documentation

◆ ServerSocket()

anna::comm::handler::ServerSocket::ServerSocket ( Communicator communicator)
inline
26  :
28  a_serverSocket(NULL)
29  {;}
Definition: Handler.hpp:42
Handler(Communicator *communicator, const Type::_v type, const int support=Support::CongestionControl)
Definition: Handler.hpp:137
Definition: Handler.hpp:49

Member Function Documentation

◆ setup()

void anna::comm::handler::ServerSocket::setup ( comm::ServerSocket serverSocket)
inline
31 { a_serverSocket = serverSocket; }

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