|
|
This class contains a report for a set of streams. Note: No synchronization is done by StreamMonitorReport. The user has to take care for correct thread synchronization!
|
Constructor.
Parameters:
maxCount | Maximum number of streams. |
~ |
Destructor.
inline bool |
[const]
Check, if StreamMonitorReport is ready.
Returns: true, if ready; false otherwise.
inline cardinal |
[const]
Get current stream report count.
Returns: Current stream report count.
inline cardinal |
[const]
Get maximum stream report count.
Returns: Maximum stream report count.
inline void |
Set list of accepted sources. Addresses with port number 0 are interpreted as any port. Warning: Do *not* change this set unsynchronized with StreamMonitorReport!
Parameters:
set | Set of accepted sources given by PortableAddress. |
inline void |
Set list of accepted destinations. Addresses with port number 0 are interpreted as any port. Warning: Do *not* change this set unsynchronized with StreamMonitorReport!
Parameters:
set | Set of accepted destinations given by PortableAddress. |
inline bool |
[const]
Check, if all sources are accepted.
Returns: true, if all sources are accepted; false otherwise.
inline void |
Set, if all sources are accepted.
Parameters:
true | to accept all sources; false otherwise. |
inline bool |
[const]
Check, if all destinations are accepted.
Returns: true, if all destinations are accepted; false otherwise.
inline void |
Set, if all destinations are accepted.
Parameters:
true | to accept all destinations; false otherwise. |
inline bool |
[const]
Check, if accepted transmissions are printed to cout.
Returns: true, if accepted transmissions are printed to cout.
inline void |
Set, if accepted transmissions are printed to cout.
Parameters:
true | to print accepted transmissions to cout. |
inline bool |
[const]
Check, if rejected transmissions are printed to cout.
Returns: true, if rejected transmissions are printed to cout.
inline void |
Set, if rejected transmissions are printed to cout.
Parameters:
true | to print rejected transmissions to cout. |
void |
Reset.
void |
Update report with new a stream report.
Parameters:
Protocol | string (unused in this version!). |
source | Source address. |
destination | Destination address. |
flowLabel | Flow label. |
rawLength | Raw length (with headers). |
payloadLength | Payload length (without headers). |
inline StreamReport* |
[const]
Get pointer to StreamReport at given index.
Parameters:
index | Index of StreamReport. |
Returns: Pointer to StreamReport.
card64 [TrafficClassValues::MaxValues] |
Total raw bytes counter for each traffic class.
card64 [TrafficClassValues::MaxValues] |
Total payload bytes counter for each traffic class.
card32 [TrafficClassValues::MaxValues] |
Total packets counter for each traffic class.