src/applications/onoff-application.h
changeset 607 1b7abeccfcda
parent 587 8d2fd4c1bb7a
child 609 9baaee630644
--- a/src/applications/onoff-application.h	Mon May 14 09:26:51 2007 +0200
+++ b/src/applications/onoff-application.h	Mon May 14 10:06:12 2007 +0200
@@ -41,7 +41,7 @@
 class OnOffApplication : public Application {
 
 public:
-  OnOffApplication(Ptr<Node> n,
+  OnOffApplication(Ptr<INode> n,
                    const Ipv4Address,  // Peer IP address
                    uint16_t,           // Peer port
                    const RandomVariable&,     // Random variable for On time
@@ -49,7 +49,7 @@
                    DataRate  = g_defaultRate,  // Data rate when on
                    uint32_t = g_defaultSize);  // Size of packets
 
-  OnOffApplication(Ptr<Node> n, const OnOffApplication&); // Copy constructor
+  OnOffApplication(Ptr<INode> n, const OnOffApplication&); // Copy constructor
   virtual ~OnOffApplication();               // Destructor
   virtual void StartApplication();    // Called at time specified by Start
   virtual void StopApplication();     // Called at time specified by Stop