File: PPPStats.html

package info (click to toggle)
pppload 1.0-5
  • links: PTS
  • area: contrib
  • in suites: hamm
  • size: 116 kB
  • ctags: 84
  • sloc: cpp: 408; makefile: 175
file content (49 lines) | stat: -rw-r--r-- 2,734 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<HTML>
<HEAD>
<TITLE>PPPStats</TITLE>
</HEAD>
<BODY>
<H1 ALIGN=CENTER>PPPStats</H1>
<P> Periodically broadcast updated PPP link statistics. <A HREF=#20>More...</A></P>
<P>Publicly inherits QObject.</P>
<H2>Public Methods</H2>
<TABLE BORDER=0>
<TR><TD VALIGN=TOP ALIGN=RIGHT>  <TD VALIGN=TOP ALIGN=RIGHT><A HREF="#21"><B>PPPStats</B></A><TD>(  );
</TABLE>
<H2>Protected Methods</H2>
<TABLE BORDER=0>
<TR><TD VALIGN=TOP ALIGN=RIGHT>virtual  void<TD VALIGN=TOP ALIGN=RIGHT><A HREF="#22"><B>timerEvent</B></A><TD>(  QTimerEvent* e );
</TABLE>
<H2>Signals</H2>
<TABLE BORDER=0>
<TR><TD VALIGN=TOP ALIGN=RIGHT>  void<TD VALIGN=TOP ALIGN=RIGHT><A HREF="#23"><B>changeStats</B></A><TD>(  unsigned int rxDelta,  unsigned int txDelta,  unsigned int rxTotal,  unsigned int txTotal );
<TR><TD VALIGN=TOP ALIGN=RIGHT>  void<TD VALIGN=TOP ALIGN=RIGHT><A HREF="#24"><B>linkDown</B></A><TD>(  );
</TABLE>
<H2>Private Data Members</H2>
<TABLE BORDER=0>
<TR><TD ALIGN=RIGHT> bool<TD><B>_isUp</B>;<TD><EM> True if the PPP link is up.</EM>
<TR><TD ALIGN=RIGHT> int<TD><B>_retryId</B>;<TD><EM> Link retry timer id.</EM>
<TR><TD ALIGN=RIGHT> unsigned int<TD><B>_rxTotal</B>;<TD><EM> Most recent total number of bytes read.</EM>
<TR><TD ALIGN=RIGHT> int<TD><B>_s</B>;<TD><EM> The socket used to query the PPP stats.</EM>
<TR><TD ALIGN=RIGHT> unsigned int<TD><B>_txTotal</B>;<TD><EM> Most recent total number of bytes sent.</EM>
</TABLE>
<HR><H2>Detailed Documentation</H2>
<P> Periodically broadcast updated PPP link statistics.</P>
 When this object is created, it is passed a statistics interval in seconds.  Once per interval, the object will query the PPP driver for its statistics.  The stats are broadcast using the changeStats() signal.  The number of bytes transmitted and received during the interval are reported, as well as the total number of bytes transmitted and received.<H2>Public Methods Documentation</H2>
<H4>   PPPStats (  );</H4>
<P> Create a PPPStats object that polls for PPP statistics.</P>
<H2>Protected Methods Documentation</H2>
<H4>virtual  void timerEvent (  QTimerEvent* e );</H4>
<P> Poll the PPP driver for its stats.</P>
<H2>Signals Documentation</H2>
<H4>  void changeStats (  unsigned int rxDelta,  unsigned int txDelta,  unsigned int rxTotal,  unsigned int txTotal );</H4>
<P> Emitted each time after the PPP driver stats are collected.</P>
<P> This signal carries the number of bytes transmitted and received during the last interval, and the total number of bytes transmitted and received.</P>
<H4>  void linkDown (  );</H4>
<P> Emitted when it is detected that the PPP link has gone down.</P>
</BODY>
</HTML>
<HR>
Return to <A HREF="index.html">Index</A>.<BR>
Automatically generated on <STRONG>Oct 27 22:18
</STRONG>