qnx.net.NetworkStats

NetworkStats

Properties | Methods


Packageqnx.net
Classpublic class NetworkStats
InheritanceNetworkStats Inheritance Object

A data structure for a specified network type stats.

Class information:
PlayBook Tablet OS Version: 2.0
Found in:  QNXNetwork.ane

See also

NetworkManager
NetworkType



Public Properties

 PropertyDefined By
  inBytes : Number
The number of incoming bytes.
NetworkStats
  inPackets : Number
The number of incoming packets.
NetworkStats
  name : String
The name of the network.
NetworkStats
  outBytes : Number
The number of outgoing bytes.
NetworkStats
  outPackets : Number
The number of outgoing packets.
NetworkStats

Public Methods

 MethodDefined By
  
NetworkStats(name:String, inBytes:Number, outBytes:Number, inPackets:Number, outPackets:Number)
Creates a NetworkStats object.
NetworkStats

Property Detail

inBytes


public var inBytes:Number

The number of incoming bytes.

inPackets


public var inPackets:Number

The number of incoming packets.

name


public var name:String

The name of the network.

outBytes


public var outBytes:Number

The number of outgoing bytes.

outPackets


public var outPackets:Number

The number of outgoing packets.

Constructor Detail

NetworkStats()


public function NetworkStats(name:String, inBytes:Number, outBytes:Number, inPackets:Number, outPackets:Number)

Creates a NetworkStats object.

Parameters

name:String — The name of the network.
inBytes:Number — The number of incoming bytes.
outBytes:Number — The number of out going bytes.
inPackets:Number — The number of incoming packets.
outPackets:Number — The number of out going packets.