Public Member Functions | Public Attributes
rocon_gateway.network_interface_manager.NetworkInterfaceManager Class Reference

Thread. More...

List of all members.

Public Member Functions

def __init__
def detect_network_interface
def get_statistics

Public Attributes

 interface_type

Detailed Description

Thread.

  Uses netifaces and pythonwifi to pull information about the network
  being used to connect to the hub

Definition at line 22 of file network_interface_manager.py.


Constructor & Destructor Documentation

  Initializes the interface manager. If the interface_name is None or an
  empty string, then the interface manager attempts to auto detect the
  interface being used.

Definition at line 29 of file network_interface_manager.py.


Member Function Documentation

  Auto detects the network interface is none is supplied. If one is
  supplied, this function verifies that the interface is connected.

  :returns: the interface name and type if detected successfully
  :rtype: (str, int8) or None

Definition at line 38 of file network_interface_manager.py.

  If the network interface manager is aware of which network interface
  was used to connect to the hub, then it prepares network statistics
  for that interface

  @return network_statistics
  @rtype gateway_msgs.ConnectionStatistics

Definition at line 90 of file network_interface_manager.py.


Member Data Documentation

Definition at line 33 of file network_interface_manager.py.


The documentation for this class was generated from the following file:


rocon_gateway
Author(s): Daniel Stonier , Jihoon Lee , Piyush Khandelwal
autogenerated on Sat Jun 8 2019 18:48:44