Minor doc notes added to ipv4.h

This commit is contained in:
tjkopena@cs.drexel.edu committed 2008-07-03 09:44:23 -04:00
1 parent e753ab7501
commit ed9944dc14
4 files changed
+32

No files matched your search

+12
View File
@@ -128,6 +128,18 @@ Node::GetNApplications (void) const
{
return m_applications.size ();
}
Ptr<Application>
Node::GetFirstApplication(TypeId tid)
{
for (std::vector<Ptr<Application> >::iterator i = m_applications.begin ();
i != m_applications.end (); i++) {
Ptr<Application> app = *i;
if (app->GetInstanceTypeId() == tid)
return app;
}
return 0;
}
void
Node::DoDispose()