|
fipa_services
|
A unidirectional, outgoing tcp connection that allows to send fipa letter to a receiver. More...
#include <OutgoingConnection.hpp>
Public Member Functions | |
| OutgoingConnection () | |
| OutgoingConnection (const std::string &ipaddress, uint16_t port) | |
| OutgoingConnection (const Address &address) | |
| void | connect (const std::string &ipaddress, uint16_t port) |
| void | send (const std::string &data) |
Public Member Functions inherited from fipa::services::transports::OutgoingConnection | |
| OutgoingConnection () | |
| OutgoingConnection (const std::string &ipaddress, uint16_t port) | |
| OutgoingConnection (const Address &address) | |
| virtual | ~OutgoingConnection () |
| void | setTTL (int ttl) |
| int | getTTL () 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 | |
Public Types inherited from fipa::services::transports::OutgoingConnection | |
| typedef boost::shared_ptr< OutgoingConnection > | Ptr |
Protected Attributes inherited from fipa::services::transports::OutgoingConnection | |
| int | mTTL |
Protected Attributes inherited from fipa::services::transports::Connection | |
| Address | mAddress |
A unidirectional, outgoing tcp connection that allows to send fipa letter to a receiver.
| fipa::services::transports::tcp::OutgoingConnection::OutgoingConnection | ( | ) |
| fipa::services::transports::tcp::OutgoingConnection::OutgoingConnection | ( | const std::string & | ipaddress, |
| uint16_t | port | ||
| ) |
| fipa::services::transports::tcp::OutgoingConnection::OutgoingConnection | ( | const Address & | address | ) |
|
virtual |
Connect to ipaddress and port
| ipaddress | IP as string |
| port | Port number |
| if | connection cannot be established |
Implements fipa::services::transports::OutgoingConnection.
|
virtual |
1.8.11