ISocketFactory -> SocketFactory
This commit is contained in:
1 parent
0a621ad784
commit
f97323b733
6 files changed
+9
-9
No files matched your search
+1
-1
@@ -22,7 +22,7 @@
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
const InterfaceId IUdp::iid = MakeInterfaceId ("IUdp", ISocketFactory::iid);
|
||||
const InterfaceId IUdp::iid = MakeInterfaceId ("IUdp", SocketFactory::iid);
|
||||
|
||||
IUdp::IUdp ()
|
||||
{
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ namespace ns3 {
|
||||
|
||||
class Socket;
|
||||
|
||||
class IUdp : public ISocketFactory
|
||||
class IUdp : public SocketFactory
|
||||
{
|
||||
public:
|
||||
static const InterfaceId iid;
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
const InterfaceId ISocketFactory::iid = MakeInterfaceId ("ISocketFactory", Object::iid);
|
||||
const InterfaceId SocketFactory::iid = MakeInterfaceId ("SocketFactory", Object::iid);
|
||||
|
||||
ISocketFactory::ISocketFactory ()
|
||||
SocketFactory::SocketFactory ()
|
||||
{
|
||||
SetInterfaceId (ISocketFactory::iid);
|
||||
SetInterfaceId (SocketFactory::iid);
|
||||
}
|
||||
|
||||
} // namespace ns3
|
||||
@@ -28,12 +28,12 @@ namespace ns3 {
|
||||
|
||||
class Socket;
|
||||
|
||||
class ISocketFactory : public Object
|
||||
class SocketFactory : public Object
|
||||
{
|
||||
public:
|
||||
static const InterfaceId iid;
|
||||
|
||||
ISocketFactory ();
|
||||
SocketFactory ();
|
||||
|
||||
virtual Ptr<Socket> CreateSocket (void) = 0;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user