ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ns3::LocalSocketFdFactory Class Reference

#include <local-socket-fd-factory.h>

+ Inheritance diagram for ns3::LocalSocketFdFactory:
+ Collaboration diagram for ns3::LocalSocketFdFactory:

Public Member Functions

 LocalSocketFdFactory ()
virtual ~LocalSocketFdFactory ()
virtual UnixFdCreateSocket (int domain, int type, int protocol)
virtual void DoDispose ()
LocalSocketFdFindBinder (std::string path, TypeId type) const
virtual TypeId GetInstanceTypeId (void) const
void RegisterBinder (std::string path, LocalSocketFd *socket)
virtual void UnlinkNotify (std::string path)
void UnRegisterBinder (std::string path)
- Public Member Functions inherited from ns3::SocketFdFactory
virtual ~SocketFdFactory ()

Static Public Member Functions

static TypeId GetTypeId (void)

Private Types

typedef std::map< std::string,
LocalSocketFd * > 
BindMap

Private Attributes

BindMap m_bindByPath
size_t m_totalBuffersSize

Detailed Description

Definition at line 35 of file local-socket-fd-factory.h.

Member Typedef Documentation

typedef std::map<std::string, LocalSocketFd*> ns3::LocalSocketFdFactory::BindMap
private

Definition at line 51 of file local-socket-fd-factory.h.

Constructor & Destructor Documentation

ns3::LocalSocketFdFactory::LocalSocketFdFactory ( )

Definition at line 48 of file local-socket-fd-factory.cc.

ns3::LocalSocketFdFactory::~LocalSocketFdFactory ( )
virtual

Definition at line 53 of file local-socket-fd-factory.cc.

Member Function Documentation

UnixFd * ns3::LocalSocketFdFactory::CreateSocket ( int  domain,
int  type,
int  protocol 
)
virtual

Implements ns3::SocketFdFactory.

Definition at line 66 of file local-socket-fd-factory.cc.

void ns3::LocalSocketFdFactory::DoDispose ( void  )
virtual

Definition at line 58 of file local-socket-fd-factory.cc.

References m_bindByPath.

LocalSocketFd * ns3::LocalSocketFdFactory::FindBinder ( std::string  path,
TypeId  type 
) const

Definition at line 87 of file local-socket-fd-factory.cc.

References ns3::LocalSocketFd::GetInstanceTypeId(), and m_bindByPath.

+ Here is the call graph for this function:

TypeId ns3::LocalSocketFdFactory::GetInstanceTypeId ( void  ) const
virtual

Definition at line 44 of file local-socket-fd-factory.cc.

References GetTypeId().

+ Here is the call graph for this function:

TypeId ns3::LocalSocketFdFactory::GetTypeId ( void  )
static

Reimplemented from ns3::SocketFdFactory.

Definition at line 36 of file local-socket-fd-factory.cc.

Referenced by GetInstanceTypeId().

+ Here is the caller graph for this function:

void ns3::LocalSocketFdFactory::RegisterBinder ( std::string  path,
LocalSocketFd socket 
)

Definition at line 106 of file local-socket-fd-factory.cc.

References m_bindByPath.

void ns3::LocalSocketFdFactory::UnlinkNotify ( std::string  path)
virtual

Reimplemented from ns3::SocketFdFactory.

Definition at line 121 of file local-socket-fd-factory.cc.

References UnRegisterBinder().

Referenced by unlink_notify().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ns3::LocalSocketFdFactory::UnRegisterBinder ( std::string  path)

Definition at line 112 of file local-socket-fd-factory.cc.

References m_bindByPath.

Referenced by UnlinkNotify().

+ Here is the caller graph for this function:

Member Data Documentation

BindMap ns3::LocalSocketFdFactory::m_bindByPath
private

Definition at line 52 of file local-socket-fd-factory.h.

Referenced by DoDispose(), FindBinder(), RegisterBinder(), and UnRegisterBinder().

size_t ns3::LocalSocketFdFactory::m_totalBuffersSize
private

Definition at line 53 of file local-socket-fd-factory.h.


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