refactor mock-channel

This commit is contained in:
Tim Schubert 2020-06-22 14:59:00 +02:00
parent 76c314130e
commit 95774794b5
6 changed files with 221 additions and 84 deletions

View file

@ -31,7 +31,7 @@
#include "ns3/trace-helper.h"
#include "../model/mock-net-device.h"
#include "../model/mock-channel.h"
#include "../model/isl-mock-channel.h"
#include "isl-helper.h"
namespace ns3 {
@ -42,7 +42,7 @@ IslHelper::IslHelper ()
{
m_queueFactory.SetTypeId ("ns3::DropTailQueue<Packet>");
m_deviceFactory.SetTypeId ("ns3::MockNetDevice");
m_channelFactory.SetTypeId ("ns3::MockChannel");
m_channelFactory.SetTypeId ("ns3::IslMockChannel");
}
void