emma::DiscoverBlock Class Reference

#include <DiscoverBlock.h>

Inheritance diagram for emma::DiscoverBlock:

dtn::data::Block

List of all members.

Public Member Functions

 DiscoverBlock (NetworkFrame *frame)
 DiscoverBlock (Block *block)
virtual ~DiscoverBlock ()
string getConnectionAddress ()
void setConnectionAddress (string address)
unsigned int getConnectionPort ()
void setConnectionPort (unsigned int port)
unsigned int getOptionals ()
void setLatitude (double value)
double getLatitude ()
void setLongitude (double value)
double getLongitude ()

Static Public Attributes

static const unsigned char BLOCK_TYPE = 200


Detailed Description

A DiscoverBlock carry some information about the sending node and can be attached to a bundle. The lifetime of a bundle carrying this block should be set to zero to avoid a forwarding to other nodes than direct neighbors.

Constructor & Destructor Documentation

emma::DiscoverBlock::DiscoverBlock ( NetworkFrame frame  ) 

constructor

References dtn::data::Block::m_processed.

emma::DiscoverBlock::DiscoverBlock ( Block block  ) 

emma::DiscoverBlock::~DiscoverBlock (  )  [virtual]

destructor


Member Function Documentation

string emma::DiscoverBlock::getConnectionAddress (  ) 

void emma::DiscoverBlock::setConnectionAddress ( string  address  ) 

unsigned int emma::DiscoverBlock::getConnectionPort (  ) 

void emma::DiscoverBlock::setConnectionPort ( unsigned int  port  ) 

unsigned int emma::DiscoverBlock::getOptionals (  ) 

void emma::DiscoverBlock::setLatitude ( double  value  ) 

double emma::DiscoverBlock::getLatitude (  ) 

void emma::DiscoverBlock::setLongitude ( double  value  ) 

double emma::DiscoverBlock::getLongitude (  ) 


Member Data Documentation

const unsigned char emma::DiscoverBlock::BLOCK_TYPE = 200 [static]


The documentation for this class was generated from the following files:

Generated on Wed Mar 25 12:41:50 2009 for IBR-DTN by  doxygen 1.5.6