IUdp -> Udp

This commit is contained in:
Mathieu Lacage
2007-06-04 18:03:26 +02:00
parent b9c4fa85f1
commit f71d6fd74f
4 changed files with 10 additions and 10 deletions

View File

@@ -43,7 +43,7 @@ void
UdpImpl::DoDispose (void)
{
m_udp = 0;
IUdp::DoDispose ();
Udp::DoDispose ();
}
} // namespace ns3

View File

@@ -28,7 +28,7 @@ namespace ns3 {
class UdpL4Protocol;
class UdpImpl : public IUdp
class UdpImpl : public Udp
{
public:
UdpImpl (Ptr<UdpL4Protocol> udp);

View File

@@ -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

View File

@@ -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 */