IUdp -> Udp
This commit is contained in:
@@ -43,7 +43,7 @@ void
|
||||
UdpImpl::DoDispose (void)
|
||||
{
|
||||
m_udp = 0;
|
||||
IUdp::DoDispose ();
|
||||
Udp::DoDispose ();
|
||||
}
|
||||
|
||||
} // namespace ns3
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace ns3 {
|
||||
|
||||
class UdpL4Protocol;
|
||||
|
||||
class UdpImpl : public IUdp
|
||||
class UdpImpl : public Udp
|
||||
{
|
||||
public:
|
||||
UdpImpl (Ptr<UdpL4Protocol> udp);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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