|
Yate
|
Send stanza timeout info. More...
#include <yatejingle.h>
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 |
Send stanza timeout info.
This class holds sent stanzas info used for timeout checking
| JGSentStanza | ( | const char * | id, |
| u_int64_t | time, | ||
| bool | notif = false, |
||
| bool | ping = false |
||
| ) | [inline] |
Constructor
| 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 |
| bool notify | ( | ) | const [inline] |
Check if timeout should be notified to sender
| bool ping | ( | ) | const [inline] |
Check if the stanza is a ping one
| bool timeout | ( | u_int64_t | time | ) | const [inline] |
Check if this element timed out
1.7.6.1