| /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
| * Copyright (C) 2014 Named Data Networking Project |
| * See COPYING for copyright and distribution information. |
| #ifndef NFD_FACE_MULTICAST_UDP_FACE_HPP |
| #define NFD_FACE_MULTICAST_UDP_FACE_HPP |
| #include "datagram-face.hpp" |
| * \brief Implementation of Face abstraction that uses |
| * multicast UDP as underlying transport mechanism |
| class MulticastUdpFace : public DatagramFace<boost::asio::ip::udp> |
| typedef boost::asio::ip::udp protocol; |
| * \brief Creates a Udp face for multicast communication |
| MulticastUdpFace(const shared_ptr<protocol::socket>& socket); |
| const boost::asio::ip::udp::endpoint& |
| getMulticastGroup() const; |
| sendInterest(const Interest& interest); |
| sendData(const Data& data); |
| boost::asio::ip::udp::endpoint m_multicastGroup; |
| #endif // NFD_FACE_MULTICAST_UDP_FACE_HPP |