|
fipa_services
|
A unidirectional, incoming connection to receive incoming messages. More...
#include <IncomingConnection.hpp>
Public Types | |
| typedef boost::shared_ptr< IncomingConnection > | Ptr |
Public Member Functions | |
| IncomingConnection () | |
| ~IncomingConnection () | |
| IncomingConnection (const UDTSOCKET &socket, const std::string &ip, uint16_t port) | |
| const UDTSOCKET & | getSocket () const |
| bool | operator== (const IncomingConnection &connection) const |
| int | receiveMessage (char *buffer, size_t size) const |
Public Member Functions inherited from fipa::services::transports::Connection | |
| Connection () | |
| Connection (const std::string &ip, uint16_t port, const std::string &protocol="udt") | |
| Connection (const Address &address) | |
| uint16_t | getPort () const |
| std::string | getIP () const |
| Address | getAddress () const |
| bool | operator== (const Connection &other) const |
Additional Inherited Members | |
Protected Attributes inherited from fipa::services::transports::Connection | |
| Address | mAddress |
A unidirectional, incoming connection to receive incoming messages.
| typedef boost::shared_ptr<IncomingConnection> fipa::services::transports::udt::IncomingConnection::Ptr |
| fipa::services::transports::udt::IncomingConnection::IncomingConnection | ( | ) |
| fipa::services::transports::udt::IncomingConnection::~IncomingConnection | ( | ) |
| fipa::services::transports::udt::IncomingConnection::IncomingConnection | ( | const UDTSOCKET & | socket, |
| const std::string & | ip, | ||
| uint16_t | port | ||
| ) |
|
inline |
Get underlying UDTSOCKET
|
inline |
Equals operator based on the connection address
| int fipa::services::transports::udt::IncomingConnection::receiveMessage | ( | char * | buffer, |
| size_t | size | ||
| ) | const |
Receive a message
| buffer | to store message |
| size | size of the buffer |
1.8.13