equal
deleted
inserted
replaced
20 */ |
20 */ |
21 #ifndef I_UDP_H |
21 #ifndef I_UDP_H |
22 #define I_UDP_H |
22 #define I_UDP_H |
23 |
23 |
24 #include "ns3/ns-unknown.h" |
24 #include "ns3/ns-unknown.h" |
|
25 #include "ns3/ptr.h" |
25 |
26 |
26 namespace ns3 { |
27 namespace ns3 { |
27 |
28 |
28 class Socket; |
29 class Socket; |
29 |
30 |
32 public: |
33 public: |
33 static const Iid iid; |
34 static const Iid iid; |
34 |
35 |
35 IUdp (); |
36 IUdp (); |
36 |
37 |
37 virtual Socket *CreateSocket (void) = 0; |
38 virtual Ptr<Socket> CreateSocket (void) = 0; |
38 }; |
39 }; |
39 |
40 |
40 } // namespace ns3 |
41 } // namespace ns3 |
41 |
42 |
42 #endif /* I_UDP_H */ |
43 #endif /* I_UDP_H */ |