IUdp -> Udp
This commit is contained in:
1 parent
b9c4fa85f1
commit
f71d6fd74f
4 files changed
+10
-10
No files matched your search
+3
-3
@@ -22,11 +22,11 @@
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
const InterfaceId IUdp::iid = MakeInterfaceId ("IUdp", SocketFactory::iid);
|
||||
const InterfaceId Udp::iid = MakeInterfaceId ("Udp", SocketFactory::iid);
|
||||
|
||||
IUdp::IUdp ()
|
||||
Udp::Udp ()
|
||||
{
|
||||
SetInterfaceId (IUdp::iid);
|
||||
SetInterfaceId (Udp::iid);
|
||||
}
|
||||
|
||||
} // namespace ns3
|
||||
+5
-5
@@ -18,8 +18,8 @@
|
||||
*
|
||||
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
|
||||
*/
|
||||
#ifndef I_UDP_H
|
||||
#define I_UDP_H
|
||||
#ifndef UDP_H
|
||||
#define UDP_H
|
||||
|
||||
#include "socket-factory.h"
|
||||
|
||||
@@ -27,16 +27,16 @@ namespace ns3 {
|
||||
|
||||
class Socket;
|
||||
|
||||
class IUdp : public SocketFactory
|
||||
class Udp : public SocketFactory
|
||||
{
|
||||
public:
|
||||
static const InterfaceId iid;
|
||||
|
||||
IUdp ();
|
||||
Udp ();
|
||||
|
||||
virtual Ptr<Socket> CreateSocket (void) = 0;
|
||||
};
|
||||
|
||||
} // namespace ns3
|
||||
|
||||
#endif /* I_UDP_H */
|
||||
#endif /* UDP_H */
|
||||
Reference in new issue
Block a user