#include <local-socket-fd-factory.h>
Public Member Functions | |
LocalSocketFdFactory () | |
virtual | ~LocalSocketFdFactory () |
virtual UnixFd * | CreateSocket (int domain, int type, int protocol) |
virtual void | DoDispose () |
LocalSocketFd * | FindBinder (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) |
![]() | |
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 |
Definition at line 35 of file local-socket-fd-factory.h.
|
private |
Definition at line 51 of file local-socket-fd-factory.h.
ns3::LocalSocketFdFactory::LocalSocketFdFactory | ( | ) |
Definition at line 48 of file local-socket-fd-factory.cc.
|
virtual |
Definition at line 53 of file local-socket-fd-factory.cc.
|
virtual |
Implements ns3::SocketFdFactory.
Definition at line 66 of file local-socket-fd-factory.cc.
|
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.
|
virtual |
Definition at line 44 of file local-socket-fd-factory.cc.
References GetTypeId().
|
static |
Reimplemented from ns3::SocketFdFactory.
Definition at line 36 of file local-socket-fd-factory.cc.
Referenced by GetInstanceTypeId().
void ns3::LocalSocketFdFactory::RegisterBinder | ( | std::string | path, |
LocalSocketFd * | socket | ||
) |
Definition at line 106 of file local-socket-fd-factory.cc.
References m_bindByPath.
|
virtual |
Reimplemented from ns3::SocketFdFactory.
Definition at line 121 of file local-socket-fd-factory.cc.
References UnRegisterBinder().
Referenced by unlink_notify().
void ns3::LocalSocketFdFactory::UnRegisterBinder | ( | std::string | path | ) |
Definition at line 112 of file local-socket-fd-factory.cc.
References m_bindByPath.
Referenced by UnlinkNotify().
|
private |
Definition at line 52 of file local-socket-fd-factory.h.
Referenced by DoDispose(), FindBinder(), RegisterBinder(), and UnRegisterBinder().
|
private |
Definition at line 53 of file local-socket-fd-factory.h.