All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
ndn::ChronoSync2013::PrefixAndSessionNo Class Reference

A PrefixAndSessionNo holds a user's data prefix and session number (used to return a list from getProducerPrefixes). More...

#include <chrono-sync2013.hpp>

Public Member Functions

 PrefixAndSessionNo (const std::string &dataPrefixUri, int sessionNo)
 
const std::string & getDataPrefix () const
 Get the application data prefix for this sync state message. More...
 
int getSessionNo () const
 Get the session number associated with the application data prefix for this sync state message. More...
 

Detailed Description

A PrefixAndSessionNo holds a user's data prefix and session number (used to return a list from getProducerPrefixes).

Member Function Documentation

const std::string& ndn::ChronoSync2013::PrefixAndSessionNo::getDataPrefix ( ) const
inline

Get the application data prefix for this sync state message.

Returns
The application data prefix as a Name URI string.
int ndn::ChronoSync2013::PrefixAndSessionNo::getSessionNo ( ) const
inline

Get the session number associated with the application data prefix for this sync state message.

Returns
The session number.

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