equal
deleted
inserted
replaced
102 LogComponentEnable("PacketSinkApplication", LOG_LEVEL_ALL); |
102 LogComponentEnable("PacketSinkApplication", LOG_LEVEL_ALL); |
103 LogComponentEnable("UdpEchoClientApplication", LOG_LEVEL_ALL); |
103 LogComponentEnable("UdpEchoClientApplication", LOG_LEVEL_ALL); |
104 LogComponentEnable("UdpEchoServerApplication", LOG_LEVEL_ALL); |
104 LogComponentEnable("UdpEchoServerApplication", LOG_LEVEL_ALL); |
105 #endif |
105 #endif |
106 // Set up some default values for the simulation. Use the Bind () |
106 // Set up some default values for the simulation. Use the Bind () |
107 // technique to tell the system what subclass of Queue to use, |
107 |
108 // and what the queue limit is |
|
109 |
|
110 // The below DefaultValue::Bind command tells the queue factory which |
|
111 // class to instantiate, when the queue factory is invoked in the |
|
112 // topology code |
|
113 DefaultValue::Bind ("Queue", "DropTailQueue"); |
|
114 |
108 |
115 Config::SetDefault ("OnOffApplication::PacketSize", Uinteger (210)); |
109 Config::SetDefault ("OnOffApplication::PacketSize", Uinteger (210)); |
116 Config::SetDefault ("OnOffApplication::DataRate", DataRate ("448kb/s")); |
110 Config::SetDefault ("OnOffApplication::DataRate", DataRate ("448kb/s")); |
117 |
111 |
118 // Allow the user to override any of the defaults and the above |
112 // Allow the user to override any of the defaults and the above |