equal
deleted
inserted
replaced
55 { |
55 { |
56 public: |
56 public: |
57 UdpSocketFactoryImpl (); |
57 UdpSocketFactoryImpl (); |
58 virtual ~UdpSocketFactoryImpl (); |
58 virtual ~UdpSocketFactoryImpl (); |
59 |
59 |
|
60 /** |
|
61 * \brief Set the associated UDP L4 protocol. |
|
62 * \param udp the UDP L4 protocol |
|
63 */ |
60 void SetUdp (Ptr<UdpL4Protocol> udp); |
64 void SetUdp (Ptr<UdpL4Protocol> udp); |
61 |
65 |
62 /** |
66 /** |
63 * \brief Implements a method to create a Udp-based socket and return |
67 * \brief Implements a method to create a Udp-based socket and return |
64 * a base class smart pointer to the socket. |
68 * a base class smart pointer to the socket. |
69 virtual Ptr<Socket> CreateSocket (void); |
73 virtual Ptr<Socket> CreateSocket (void); |
70 |
74 |
71 protected: |
75 protected: |
72 virtual void DoDispose (void); |
76 virtual void DoDispose (void); |
73 private: |
77 private: |
74 Ptr<UdpL4Protocol> m_udp; |
78 Ptr<UdpL4Protocol> m_udp; //!< the associated UDP L4 protocol |
75 }; |
79 }; |
76 |
80 |
77 } // namespace ns3 |
81 } // namespace ns3 |
78 |
82 |
79 #endif /* UDP_SOCKET_FACTORY_IMPL_H */ |
83 #endif /* UDP_SOCKET_FACTORY_IMPL_H */ |