1 #ifndef FIPA_SERVICES_TRANSPORTS_TCP_OUTGOING_CONNECTION_HPP 2 #define FIPA_SERVICES_TRANSPORTS_TCP_OUTGOING_CONNECTION_HPP 4 #include <boost/asio.hpp> 5 #include <fipa_services/transports/OutgoingConnection.hpp> 29 void connect(
const std::string& ipaddress, uint16_t port);
35 void send(
const std::string& data);
38 boost::asio::ip::tcp::socket mClientSocket;
45 #endif // FIPA_SERVICES_TRANSPORTS_TCP_OUTGOING_CONNECTION_HPP A unidirectional, outgoing tcp connection that allows to send fipa letter to a receiver.
Definition: OutgoingConnection.hpp:16
A unidirectional, outgoing connection that allows to send fipa letters to a receiver.
Definition: OutgoingConnection.hpp:15
void send(const std::string &data)
Definition: OutgoingConnection.cpp:44
Communication address specified by IP, port, and protocol.
Definition: Address.hpp:15
OutgoingConnection()
Definition: OutgoingConnection.cpp:10
void connect(const std::string &ipaddress, uint16_t port)
Definition: OutgoingConnection.cpp:29
Definition: DistributedServiceDirectory.cpp:5