equal
deleted
inserted
replaced
44 TypeId |
44 TypeId |
45 UdpServer::GetTypeId (void) |
45 UdpServer::GetTypeId (void) |
46 { |
46 { |
47 static TypeId tid = TypeId ("ns3::UdpServer") |
47 static TypeId tid = TypeId ("ns3::UdpServer") |
48 .SetParent<Application> () |
48 .SetParent<Application> () |
|
49 .SetGroupName("Applications") |
49 .AddConstructor<UdpServer> () |
50 .AddConstructor<UdpServer> () |
50 .AddAttribute ("Port", |
51 .AddAttribute ("Port", |
51 "Port on which we listen for incoming packets.", |
52 "Port on which we listen for incoming packets.", |
52 UintegerValue (100), |
53 UintegerValue (100), |
53 MakeUintegerAccessor (&UdpServer::m_port), |
54 MakeUintegerAccessor (&UdpServer::m_port), |