BrisaUpnp::BrisaEventProxy Class Reference

#include <BrisaUpnp/BrisaEventProxy>

Inheritance diagram for BrisaUpnp::BrisaEventProxy:
BrisaUpnp::BrisaAbstractEventSubscription

List of all members.

Signals

void eventNotification (BrisaEventProxy *subscription, QMap< QString, QString > eventingVariables)
 Signal that is emitted when an event is received.

Public Member Functions

 ~BrisaEventProxy ()
int getId ()
void renew (const int &newTimeout=-1)
void subscribe (const int timeout=-1)
void unsubscribe ()

Friends

class BrisaControlPoint

Detailed Description

Class that implements the event part in control point side in Brisa Qt, this class makes the operations of subscribe, renew subscription and unsubscribe.

Definition at line 53 of file brisaeventproxy.h.


Constructor & Destructor Documentation

BrisaEventProxy::~BrisaEventProxy (  ) 

Destructor

Definition at line 58 of file brisaeventproxy.cpp.


Member Function Documentation

BrisaEventProxy::void BrisaUpnp::BrisaEventProxy::eventNotification ( BrisaEventProxy subscription,
QMap< QString, QString >  eventingVariables 
) [signal]

Signal that is emitted when an event is received.

Definition at line 89 of file moc_brisaeventproxy.cpp.

int BrisaEventProxy::getId (  ) 

Gets the request id.

Definition at line 71 of file brisaeventproxy.cpp.

void BrisaEventProxy::renew ( const int &  newTimeout = -1  )  [virtual]

Renew the subscribe in a event for the newTimeout passed

Parameters:
newTimeout new timeout. Less than 0 to infinite

Implements BrisaUpnp::BrisaAbstractEventSubscription.

Definition at line 63 of file brisaeventproxy.cpp.

void BrisaEventProxy::subscribe ( const int  timeout = -1  ) 

Subscribe for the events from a service subscriptions will last the timeout passed.

Parameters:
timeout timeout

Definition at line 75 of file brisaeventproxy.cpp.

void BrisaEventProxy::unsubscribe ( void   ) 

Unsubscribe the events from a service, using this the user won't receive more event responses.

Definition at line 83 of file brisaeventproxy.cpp.


Friends And Related Function Documentation

friend class BrisaControlPoint [friend]

Definition at line 57 of file brisaeventproxy.h.


The documentation for this class was generated from the following files:
Generated on Thu Sep 30 14:04:30 2010 for Brisa by  doxygen 1.6.3