OpenDaVINCI  4.15.3
UDPMultiCastContainerConference.h
Go to the documentation of this file.
1 
20 #ifndef OPENDAVINCI_CORE_IO_CONFERENCE_UDPMULTICASTCONTAINERCONFERENCE_H_
21 #define OPENDAVINCI_CORE_IO_CONFERENCE_UDPMULTICASTCONTAINERCONFERENCE_H_
22 
23 #include <memory>
24 #include <string>
25 
32 
33 namespace odcore { namespace data { class Container; } }
34 
35 namespace odcore {
36  namespace io {
37  namespace conference {
38 
39  using namespace std;
40 
49  private:
51 
52  private:
59 
66 
67  protected:
75  UDPMultiCastContainerConference(const string &address, const uint32_t &port) throw (exceptions::ConferenceException);
76 
77  public:
79 
80  virtual void nextPacket(const odcore::data::Packet &p);
81 
82  virtual void send(odcore::data::Container &container) const;
83 
84  private:
85  std::shared_ptr<odcore::io::udp::UDPSender> m_sender;
86  std::shared_ptr<odcore::io::udp::UDPReceiver> m_receiver;
87  };
88 
89  }
90  }
91 } // odcore::io::conference
92 
93 #endif /*OPENDAVINCI_CORE_IO_CONFERENCE_UDPMULTICASTCONTAINERCONFERENCE_H_*/
Definition: PacketListener.h:33
Definition: Container.h:40
Definition: ContainerConferenceFactory.h:40
#define OPENDAVINCI_API
Definition: opendavinci.h:67
Definition: UDPMultiCastContainerConference.h:48
Definition: ContainerConference.h:43