Package prlsdkapi :: Class StatNetIface
[hide private]
[frames] | no frames]

Class StatNetIface

object --+    
         |    
   _Handle --+
             |
            StatNetIface

Provides methods for obtaining network interface statistics from the host or a virtual machine. To obtain the object, use the Statistics.get_iface_stat method.

Instance Methods [hide private]
 
get_system_name(self)
Return the network interface system name.
 
get_in_data_size(self)
Return the total number of bytes the network interface has received since the Parallels Service was last started.
 
get_out_data_size(self)
Return the total number of bytes the network interface has sent since the Parallels Service was last started.
 
get_in_pkgs_count(self)
Return the total number of packets the network interface has received since the Parallels Service was last started.
 
get_out_pkgs_count(self)
Return the total number of packets the network interface has sent since the Parallels Service was last started.

Inherited from _Handle: __del__, __init__, add_ref, free, from_string, get_handle_type, get_package_id, get_type

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_system_name(self)

 

Return the network interface system name.

Returns:
A string containing the result.

get_in_data_size(self)

 

Return the total number of bytes the network interface has received since the Parallels Service was last started.

Returns:
An integer containing the result.

get_out_data_size(self)

 

Return the total number of bytes the network interface has sent since the Parallels Service was last started.

Returns:
An integer containing the result.

get_in_pkgs_count(self)

 

Return the total number of packets the network interface has received since the Parallels Service was last started.

Returns:
An integer containing the result.

get_out_pkgs_count(self)

 

Return the total number of packets the network interface has sent since the Parallels Service was last started.

Returns:
An integer containing the result.