OpenMAMA
Wombat::MamdaNewsStoryHandler Class Reference

MamdaNewsHandler is an interface for applications that want to have an easy way to handle news stories. More...

#include <MamdaNewsStoryHandler.h>

Public Member Functions

virtual void onNewsStory (MamdaNewsManager &manager, const MamaMsg &msg, const MamdaNewsStory &story, void *closure)=0
 Method invoked when a news story response is received.
virtual ~MamdaNewsStoryHandler ()

Detailed Description

MamdaNewsHandler is an interface for applications that want to have an easy way to handle news stories.

The interface defines callback methods for different types of news story events.

Instances of MamdaNewsStory do not survive beyond the onNewsStory() callback and should be copied if they need to be preserved beyond that callback.

Constructor & Destructor Documentation

virtual Wombat::MamdaNewsStoryHandler::~MamdaNewsStoryHandler ( )
virtual
{};

Member Function Documentation

virtual void Wombat::MamdaNewsStoryHandler::onNewsStory ( MamdaNewsManager manager,
const MamaMsg &  msg,
const MamdaNewsStory story,
void *  closure 
)
pure virtual

Method invoked when a news story response is received.

Parameters
managerThe MamdaNewsManager that is managing this news service.
msgThe MamaMsg that triggered this invocation.
storyThe requested news story.
closureThe closure argument to the story request.

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


© 2012 Linux Foundation