|
177 |
NS_LOG_FUNCTION_NOARGS (); |
177 |
NS_LOG_FUNCTION_NOARGS (); |
178 |
|
178 |
|
179 |
ScheduleNextTx(); // Schedule the send packet event |
179 |
ScheduleNextTx(); // Schedule the send packet event |
|
|
180 |
ScheduleStopEvent(); |
180 |
} |
181 |
} |
181 |
|
182 |
|
182 |
void OnOffApplication::StopSending() |
183 |
void OnOffApplication::StopSending() |
183 |
{ |
184 |
{ |
184 |
NS_LOG_FUNCTION_NOARGS (); |
185 |
NS_LOG_FUNCTION_NOARGS (); |
|
|
186 |
CancelEvents(); |
185 |
|
187 |
|
186 |
Simulator::Cancel(m_sendEvent); |
188 |
ScheduleStartEvent(); |
187 |
} |
189 |
} |
188 |
|
190 |
|
189 |
// Private helpers |
191 |
// Private helpers |