57 * Install an ns3::OnOffApplication on each node of the input container |
57 * Install an ns3::OnOffApplication on each node of the input container |
58 * configured with all the attributes set with SetAttribute. |
58 * configured with all the attributes set with SetAttribute. |
59 * |
59 * |
60 * \param c NodeContainer of the set of nodes on which an OnOffApplication |
60 * \param c NodeContainer of the set of nodes on which an OnOffApplication |
61 * will be installed. |
61 * will be installed. |
|
62 * \returns Container of Ptr to the applications installed. |
62 */ |
63 */ |
63 ApplicationContainer Install (NodeContainer c) const; |
64 ApplicationContainer Install (NodeContainer c) const; |
64 |
65 |
65 /** |
66 /** |
66 * Install an ns3::OnOffApplication on each node of the input container |
67 * Install an ns3::OnOffApplication on the node configured with all the |
67 * configured with all the attributes set with SetAttribute. |
68 * attributes set with SetAttribute. |
68 * |
69 * |
69 * \param c The node on which an OnOffApplication will be installed. |
70 * \param node The node on which an OnOffApplication will be installed. |
|
71 * \returns Container of Ptr to the applications installed. |
70 */ |
72 */ |
71 ApplicationContainer Install (Ptr<Node> node) const; |
73 ApplicationContainer Install (Ptr<Node> node) const; |
72 |
74 |
73 private: |
75 private: |
|
76 /** |
|
77 * Install an ns3::OnOffApplication on the node configured with all the |
|
78 * attributes set with SetAttribute. |
|
79 * |
|
80 * \param node The node on which an OnOffApplication will be installed. |
|
81 * \returns Ptr to the application installed. |
|
82 */ |
74 Ptr<Application> InstallPriv (Ptr<Node> node) const; |
83 Ptr<Application> InstallPriv (Ptr<Node> node) const; |
75 std::string m_protocol; |
84 std::string m_protocol; |
76 Address m_remote; |
85 Address m_remote; |
77 ObjectFactory m_factory; |
86 ObjectFactory m_factory; |
78 }; |
87 }; |