Mobility::MobileApp Class Reference
[pydtn.mobility]

Subclass of DTN::Application for mobile-node-specific applications. More...

#include <mobility/MobileApp.h>

Inheritance diagram for Mobility::MobileApp:

Inheritance graph
[legend]
Collaboration diagram for Mobility::MobileApp:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MobileApp ()
 Default constructor.
virtual ~MobileApp ()
 Virtual destructor.
virtual void newNeighbor (const DTN::ByteString &addr)=0
 Notify the application of a new neighbor.


Detailed Description

Subclass of DTN::Application for mobile-node-specific applications.

These may be registered with the MobileNode so that they are informed when a new neighbor is detected.

Definition at line 48 of file MobileApp.h.


Member Function Documentation

virtual void Mobility::MobileApp::newNeighbor ( const DTN::ByteString &  addr  )  [pure virtual]

Notify the application of a new neighbor.

Parameters:
addr The address of the node that has just come into view

Implemented in BasicEpidemic::EpidemicApp, and Epidemic::EpidemicApp.


The documentation for this class was generated from the following file:
Generated on Mon Mar 24 11:15:49 2008 for Pydtn Simulator by  doxygen 1.5.4