Public Member Functions | Static Public Member Functions

ns3::UdpSocketFactory Class Reference
[Socket]

API to create UDP socket instances. More...

#include <udp-socket-factory.h>

Inheritance diagram for ns3::UdpSocketFactory:
Inheritance graph
[legend]
Collaboration diagram for ns3::UdpSocketFactory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual Ptr< SocketCreateSocket (void)=0

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::UdpSocketFactory.

Detailed Description

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.

See also:
UdpSocketFactoryImpl

Member Function Documentation

virtual Ptr<Socket> ns3::UdpSocketFactory::CreateSocket ( void   )  [pure virtual]
Returns:
smart pointer to Socket

API for creating socket instances; must be implemented by UDP implementations..

Implements ns3::SocketFactory.

Implemented in ns3::UdpSocketFactoryImpl.

static TypeId ns3::UdpSocketFactory::GetTypeId ( void   )  [static]

This method returns the TypeId associated to ns3::UdpSocketFactory.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/$ns3UdpSocketFactory

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::SocketFactory.


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