ns-3 Direct Code Execution
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
socket-fd-factory.h
Go to the documentation of this file.
1 #ifndef SOCKET_FD_FACTORY_H
2 #define SOCKET_FD_FACTORY_H
3 
4 #include "ns3/ptr.h"
5 #include "ns3/object.h"
6 
7 namespace ns3 {
8 
9 class UnixFd;
10 class Object;
11 
12 class SocketFdFactory : public Object
13 {
14 public:
15  static TypeId GetTypeId (void);
16  virtual ~SocketFdFactory ();
17  virtual UnixFd * CreateSocket (int domain, int type, int protocol) = 0;
18  virtual void UnlinkNotify (std::string path);
19 };
20 
21 } // namespace ns3
22 
23 #endif /* SOCKET_FD_FACTORY_H */