From a643028704dda40d69f43458b890ad02da7e260e Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Wed, 17 Aug 2011 17:00:17 -0700 Subject: [PATCH] bug 272: mention that InternetStackHelper aggregates PacketSocketFactory --- src/internet/helper/internet-stack-helper.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/internet/helper/internet-stack-helper.h b/src/internet/helper/internet-stack-helper.h index eb63dcdc3..d8e0cbde9 100644 --- a/src/internet/helper/internet-stack-helper.h +++ b/src/internet/helper/internet-stack-helper.h @@ -46,11 +46,20 @@ class Ipv6RoutingHelper; * change, and also the user-visible methods will not reference devices and * therefore the number of trace enable methods is reduced. * - * Normally we eschew multiple inheritance, however, the classes + * Normally we avoid multiple inheritance in ns-3, however, the classes * PcapUserHelperForIpv4 and AsciiTraceUserHelperForIpv4 are * treated as "mixins". A mixin is a self-contained class that * encapsulates a general attribute or a set of functionality that * may be of interest to many other classes. + * + * This class aggregates instances of these objects, by default, to each node: + * - ns3::ArpL3Protocol + * - ns3::Ipv4L3Protocol + * - ns3::Icmpv4L4Protocol + * - ns3::UdpL4Protocol + * - a TCP based on the TCP factory provided + * - a PacketSocketFactory + * - Ipv4 routing (a list routing object and a static routing object) */ class InternetStackHelper : public PcapHelperForIpv4, public PcapHelperForIpv6, public AsciiTraceHelperForIpv4, public AsciiTraceHelperForIpv6