com.esf.device.wifi.ubiquiti.ministation2.service
Interface IUbiquitiMinistationManagement


public interface IUbiquitiMinistationManagement

Defines Management interface of Ubiquiti Ministation2

Author:
ilya.binshtok

Method Summary
 IpAddress getStationLinkLocalIpAddress()
          Reports Ministation Link-Local IP address
 IpAddress getZywanLinkLocalIpAddress()
          Reports ZyWAN Link-Local IP address
 boolean isReachable()
          Reports if ministation is reachable
 boolean isReachable(long tout)
          Reports if ministation is reachable
 IpAddress probe()
          Probes Ubiquiti ministation2 for management IP address by sending broadcast ping to 169.254.255.255 and parsing the /proc/net/arp file for the ARP cache entry matching the Ubiquiti OUI portion of the MAC address.
 IpAddress probe(long tout)
          Probes Ubiquiti ministation2 for management IP address by sending broadcast ping to 169.254.255.255 and parsing the /proc/net/arp file for the ARP cache entry matching the Ubiquiti OUI portion of the MAC address.
 

Method Detail

probe

IpAddress probe()
                throws java.lang.Exception
Probes Ubiquiti ministation2 for management IP address by sending broadcast ping to 169.254.255.255 and parsing the /proc/net/arp file for the ARP cache entry matching the Ubiquiti OUI portion of the MAC address.

Returns:
as IP address of ministation's management interface as IpAddress
Throws:
java.lang.Exception

probe

IpAddress probe(long tout)
                throws java.lang.Exception
Probes Ubiquiti ministation2 for management IP address by sending broadcast ping to 169.254.255.255 and parsing the /proc/net/arp file for the ARP cache entry matching the Ubiquiti OUI portion of the MAC address.

Parameters:
tout - - timeout in msec as long
Returns:
Throws:
java.lang.Exception

getZywanLinkLocalIpAddress

IpAddress getZywanLinkLocalIpAddress()
Reports ZyWAN Link-Local IP address

Returns:
IP address as IpAddress

getStationLinkLocalIpAddress

IpAddress getStationLinkLocalIpAddress()
Reports Ministation Link-Local IP address

Returns:
IP address as IpAddress

isReachable

boolean isReachable()
Reports if ministation is reachable

Returns:
boolean

isReachable

boolean isReachable(long tout)
Reports if ministation is reachable

Parameters:
tout - - configuration timeout in mdec as long
Returns:
boolean