1 #ifndef FIPA_SERVICES_TRANSPORTS_UDT_INCOMING_CONNECTION_HPP 2 #define FIPA_SERVICES_TRANSPORTS_UDT_INCOMING_CONNECTION_HPP 5 #include <boost/shared_ptr.hpp> 7 #include <base-logging/Logging.hpp> 8 #include <fipa_services/transports/Connection.hpp> 12 namespace transports {
24 typedef boost::shared_ptr<IncomingConnection>
Ptr;
34 const UDTSOCKET&
getSocket()
const {
return mSocket; }
57 #endif // FIPA_SERVICES_TRANSPORTS_UDT_INCOMING_CONNECTION_HPP bool operator==(const IncomingConnection &connection) const
Definition: IncomingConnection.hpp:40
A unidirectional, incoming connection to receive incoming messages.
Definition: IncomingConnection.hpp:19
A connection is defined by a communication address.
Definition: Connection.hpp:15
IncomingConnection()
Definition: IncomingConnection.cpp:8
std::vector< IncomingConnection::Ptr > IncomingConnections
Definition: IncomingConnection.hpp:51
const UDTSOCKET & getSocket() const
Definition: IncomingConnection.hpp:34
~IncomingConnection()
Definition: IncomingConnection.cpp:11
boost::shared_ptr< IncomingConnection > Ptr
Definition: IncomingConnection.hpp:24
bool operator==(const Connection &other) const
Definition: Connection.hpp:29
int receiveMessage(char *buffer, size_t size) const
Definition: IncomingConnection.cpp:22
Definition: DistributedServiceDirectory.cpp:5