public interface IUbiquitiMinistationService
| Modifier and Type | Field and Description |
|---|---|
static int |
MINISTATION_2_MODE_AP_BRIDGE |
static int |
MINISTATION_2_MODE_STATION_DHCP_BRIDGE |
static int |
MINISTATION_2_MODE_STATION_STATIC_BRIDGE |
static int |
MINISTATION_CONFIG_TOUT
Ministation configuration timeout in msec.
|
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBindIface()
Reports name of ministation bind interface.
|
IUbiquitiMinistationManagement |
getMinistationManagement()
Reports ministation management interface.
|
IUbiquitiMinistationManagement |
getMinistationManagement(long tout)
Reports ministation management interface.
|
java.util.Properties |
getRunningConfiguration()
Obtains Ministation runtime configuration by sending the GET
/cfg.cgi request to the station.
|
java.util.Properties |
getStartupConfiguration()
Obtains configuration that has been submitted to ministation
and temporarily stored in the /tmp/.esf/config directory.
|
boolean |
isReachable()
Reports if ministation is reachable
|
boolean |
isReachable(long tout)
Reports if ministation is reachable
|
void |
setBindIface(java.lang.String iface)
Sets ministation bind interface
|
void |
setToAccessPoint(java.lang.String essid,
int channel,
int txPower,
int securityType,
java.lang.String password,
java.lang.String bridgeIpAddress,
java.lang.String wifiNetmask,
java.lang.String gateway)
Sets ministation to operate in the 'master' (Access Point bridge) mode.
|
void |
setToDhcpBridge(java.lang.String essid,
int txPower,
int securityType,
java.lang.String password)
Sets ministattion to operate in the 'managed' (DHCP bridge) mode.
|
void |
setToStaticBridge(java.lang.String essid,
int txPower,
int securityType,
java.lang.String password,
java.lang.String wifiIpAddress,
java.lang.String wifiNetmask,
java.lang.String gateway,
java.lang.String primaryDns,
java.lang.String secondaryDns)
Sets ministation to operate in the 'managed' (Static bridge) mode.
|
void |
togglePower(int delay1,
int delay2) |
static final java.lang.String SERVICE_NAME
static final int MINISTATION_2_MODE_AP_BRIDGE
static final int MINISTATION_2_MODE_STATION_STATIC_BRIDGE
static final int MINISTATION_2_MODE_STATION_DHCP_BRIDGE
static final int MINISTATION_CONFIG_TOUT
IUbiquitiMinistationManagement getMinistationManagement() throws java.lang.Exception
IUbiquitiMinistationManagementjava.lang.ExceptionIUbiquitiMinistationManagement getMinistationManagement(long tout) throws java.lang.Exception
tout - - timeout in msec as longIUbiquitiMinistationManagementjava.lang.Exceptionboolean isReachable()
throws java.lang.Exception
booleanjava.lang.Exceptionboolean isReachable(long tout)
throws java.lang.Exception
tout - - configuration timeout in msec as longbooleanjava.lang.Exceptionjava.lang.String getBindIface()
Stringvoid setBindIface(java.lang.String iface)
iface - - name of the bind interface as Stringvoid setToAccessPoint(java.lang.String essid,
int channel,
int txPower,
int securityType,
java.lang.String password,
java.lang.String bridgeIpAddress,
java.lang.String wifiNetmask,
java.lang.String gateway)
throws java.lang.Exception
essid - - service set ID as Stringchannel - - 802.11 channel as inttxPower - - output power in dBm as intsecurityType - - security type as intpassword - - password as StringbridgeIpAddress - - bridge IP address as StringwifiNetmask - - netmask as Stringgateway - - default gateway as Stringjava.lang.Exceptionvoid setToDhcpBridge(java.lang.String essid,
int txPower,
int securityType,
java.lang.String password)
throws java.lang.Exception
essid - - service set ID as StringtxPower - - output power in dBm as intsecurityType - - security type as intpassword - - password as Stringjava.lang.Exceptionvoid setToStaticBridge(java.lang.String essid,
int txPower,
int securityType,
java.lang.String password,
java.lang.String wifiIpAddress,
java.lang.String wifiNetmask,
java.lang.String gateway,
java.lang.String primaryDns,
java.lang.String secondaryDns)
throws java.lang.Exception
essid - - service set ID as StringtxPower - - output power in dBm as intsecurityType - - security type as intpassword - - password as StringwifiIpAddress - - IP address as StringwifiNetmask - - netmask as Stringgateway - - default gateway as StringprimaryDns - - primary DNS as StringsecondaryDns - - secondary DNS as Stringjava.lang.Exceptionjava.util.Properties getRunningConfiguration()
throws java.lang.Exception
Propertiesjava.lang.Exceptionjava.util.Properties getStartupConfiguration()
throws java.lang.Exception
Propertiesjava.lang.Exceptionvoid togglePower(int delay1,
int delay2)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2009 Eurotech Inc. All rights reserved.