com.eurotech.framework.linux.util
Class DbusUtil

java.lang.Object
  extended by com.eurotech.framework.linux.util.DbusUtil

public class DbusUtil
extends Object


Constructor Summary
DbusUtil()
           
 
Method Summary
static void displayAPs(Map<String,Map<String,WifiAccessPoint>> wifiAccessPoints)
           
static void displayInterfaces(Map<String,NetInterface<? extends NetInterfaceAddress>> networkInterfaces)
           
static void displayState(Map<String,NetInterface<? extends NetInterfaceAddress>> networkInterfaces, Map<String,Map<String,WifiAccessPoint>> wifiAccessPoints)
           
static NetInterface getNetworkInterfaceFromMap(org.freedesktop.dbus.DBusConnection dBusConnection, UsbService usbService, org.freedesktop.DBus.Properties props)
           
static WifiAccessPoint getWifiAccessPointFromMap(Map<?,?> apMap)
           
static boolean waitForDbusReply(org.freedesktop.dbus.DBusAsyncReply dbusInterfacesReply, int timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbusUtil

public DbusUtil()
Method Detail

waitForDbusReply

public static boolean waitForDbusReply(org.freedesktop.dbus.DBusAsyncReply dbusInterfacesReply,
                                       int timeout)

getNetworkInterfaceFromMap

public static NetInterface getNetworkInterfaceFromMap(org.freedesktop.dbus.DBusConnection dBusConnection,
                                                      UsbService usbService,
                                                      org.freedesktop.DBus.Properties props)
                                               throws org.freedesktop.dbus.exceptions.DBusException,
                                                      UnknownHostException
Throws:
org.freedesktop.dbus.exceptions.DBusException
UnknownHostException

getWifiAccessPointFromMap

public static WifiAccessPoint getWifiAccessPointFromMap(Map<?,?> apMap)

displayState

public static void displayState(Map<String,NetInterface<? extends NetInterfaceAddress>> networkInterfaces,
                                Map<String,Map<String,WifiAccessPoint>> wifiAccessPoints)

displayInterfaces

public static void displayInterfaces(Map<String,NetInterface<? extends NetInterfaceAddress>> networkInterfaces)

displayAPs

public static void displayAPs(Map<String,Map<String,WifiAccessPoint>> wifiAccessPoints)


Copyright © 2013. All Rights Reserved.