equal
deleted
inserted
replaced
35 Ipv4L4Demux::GetTypeId (void) |
35 Ipv4L4Demux::GetTypeId (void) |
36 { |
36 { |
37 static TypeId tid = TypeId ("ns3::Ipv4L4Demux") |
37 static TypeId tid = TypeId ("ns3::Ipv4L4Demux") |
38 .SetParent<Object> () |
38 .SetParent<Object> () |
39 .AddAttribute ("Protocols", "The set of protocols registered with this demux.", |
39 .AddAttribute ("Protocols", "The set of protocols registered with this demux.", |
40 ObjectVector (), |
40 ObjectVectorValue (), |
41 MakeObjectVectorAccessor (&Ipv4L4Demux::m_protocols), |
41 MakeObjectVectorAccessor (&Ipv4L4Demux::m_protocols), |
42 MakeObjectVectorChecker<Ipv4L4Protocol> ()) |
42 MakeObjectVectorChecker<Ipv4L4Protocol> ()) |
43 ; |
43 ; |
44 return tid; |
44 return tid; |
45 } |
45 } |