JGSentStanza Class Reference

Send stanza timeout info. More...

#include <yatejingle.h>

Inheritance diagram for JGSentStanza:
String GenObject

List of all members.

Public Member Functions

 JGSentStanza (const char *id, u_int64_t time, bool notif=false, bool ping=false)
bool timeout (u_int64_t time) const
bool notify () const
bool ping () const

Detailed Description

Send stanza timeout info.

This class holds sent stanzas info used for timeout checking


Constructor & Destructor Documentation

JGSentStanza ( const char *  id,
u_int64_t  time,
bool  notif = false,
bool  ping = false 
) [inline]

Constructor

Parameters:
id The sent stanza's id
time The sent time
notif True to notify stanza timeout or response
ping True if the sent stanza is a ping one

Member Function Documentation

bool notify (  )  const [inline]

Check if timeout should be notified to sender

Returns:
True to notify
bool ping (  )  const [inline]

Check if the stanza is a ping one

Returns:
True if the stanza is a ping one
bool timeout ( u_int64_t  time  )  const [inline]

Check if this element timed out

Returns:
True if timeout

The documentation for this class was generated from the following file:
Generated on Thu Apr 8 18:19:44 2010 for Yate by  doxygen 1.6.3