API to create UDP socket instances. More...
#include <udp-socket-factory.h>
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Additional Inherited Members | |
![]() | |
SocketFactory () | |
virtual Ptr< Socket > | CreateSocket (void)=0 |
![]() | |
Object (const Object &o) | |
virtual void | DoDispose (void) |
virtual void | DoStart (void) |
virtual void | NotifyNewAggregate (void) |
API to create UDP socket instances.
This abstract class defines the API for UDP socket factory. All UDP implementations must provide an implementation of CreateSocket below.
ns3::UdpSocketFactory is accessible through the following paths with Config::Set and Config::Connect:
No Attributes are defined for this type.
No TraceSources are defined for this type.
Definition at line 40 of file udp-socket-factory.h.
|
static |
Reimplemented from ns3::SocketFactory.
Definition at line 27 of file udp-socket-factory.cc.
References ns3::TypeId::SetParent().
Referenced by ns3::olsr::RoutingProtocol::DoStart(), ns3::PacketSink::GetTypeId(), ns3::OnOffApplication::GetTypeId(), ns3::aodv::RoutingProtocol::NotifyAddAddress(), ns3::dsdv::RoutingProtocol::NotifyAddAddress(), ns3::aodv::RoutingProtocol::NotifyInterfaceUp(), ns3::dsdv::RoutingProtocol::NotifyInterfaceUp(), ns3::aodv::RoutingProtocol::NotifyRemoveAddress(), and ns3::dsdv::RoutingProtocol::NotifyRemoveAddress().