SmartSoft Components and Communication Objects
List of all members | Public Member Functions
Communication Class Reference

#include <Communication.hh>

Inheritance diagram for Communication:

Public Member Functions

int recv (std::string &msg)
 
int send (std::string message)
 
 Communication ()
 
bool initConnection ()
 
int connect ()
 
int disconnect ()
 
int handle_signal (int signum, siginfo_t *, ucontext_t *)
 
 ~Communication ()
 
int recv (std::string &msg)
 
int recv (void *buf, size_t len)
 
int send (std::string message)
 
int send (const void *buf, size_t len)
 
 Communication ()
 
bool initConnection (const std::string &ip, const unsigned int &port)
 
int connect ()
 
int disconnect ()
 
int handle_signal (int signum, siginfo_t *, ucontext_t *)
 
bool isConnected ()
 
virtual ~Communication ()
 

Constructor & Destructor Documentation

Communication::Communication ( )
Communication::~Communication ( )
Communication::Communication ( )
virtual Communication::~Communication ( )
virtual

Member Function Documentation

int Communication::connect ( )
int Communication::connect ( )
int Communication::disconnect ( )
int Communication::disconnect ( )
int Communication::handle_signal ( int  signum,
siginfo_t *  ,
ucontext_t *   
)
int Communication::handle_signal ( int  signum,
siginfo_t *  ,
ucontext_t *   
)
bool Communication::initConnection ( )
bool Communication::initConnection ( const std::string &  ip,
const unsigned int &  port 
)
bool Communication::isConnected ( )
int Communication::recv ( std::string &  msg)
int Communication::recv ( std::string &  msg)
int Communication::recv ( void *  buf,
size_t  len 
)
int Communication::send ( std::string  message)
int Communication::send ( std::string  message)
int Communication::send ( const void *  buf,
size_t  len 
)

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