ns3::PacketSocketFactory Class Reference

#include <packet-socket-factory.h>

Inheritance diagram for ns3::PacketSocketFactory:

Inheritance graph
Collaboration diagram for ns3::PacketSocketFactory:

Collaboration graph

List of all members.

Public Member Functions

virtual Ptr< SocketCreateSocket (void)

Static Public Member Functions

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

Detailed Description

This can be used as an interface in a node in order for the node to generate PacketSockets that can connect to net devices.

Member Function Documentation

virtual Ptr<Socket> ns3::PacketSocketFactory::CreateSocket ( void   )  [virtual]

Creates a PacketSocket and returns a pointer to it.

a pointer to the created socket

Implements ns3::SocketFactory.

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

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

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

  • /NodeList/[i]/$ns3::PacketSocketFactory
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:

Generated on Fri Apr 9 15:01:11 2010 for NS-3 by  doxygen 1.5.8