ns-3
ns3::UdpSocketFactoryImpl Class Reference

Object to create UDP socket instances. More...

#include <udp-socket-factory-impl.h>

Inheritance diagram for ns3::UdpSocketFactoryImpl:
Collaboration diagram for ns3::UdpSocketFactoryImpl:

List of all members.

Public Member Functions

void SetUdp (Ptr< UdpL4Protocol > udp)
virtual Ptr< SocketCreateSocket (void)
 Implements a method to create a Udp-based socket and return a base class smart pointer to the socket.

Protected Member Functions

virtual void DoDispose (void)

Additional Inherited Members

- Static Public Member Functions inherited from ns3::UdpSocketFactory
static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::UdpSocketFactory.

Detailed Description

Object to create UDP socket instances.


Member Function Documentation

void ns3::UdpSocketFactoryImpl::DoDispose ( void  )
protectedvirtual

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.

It is safe to call GetObject from within this method.

Reimplemented from ns3::Object.


The documentation for this class was generated from the following files: