|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUbiquitiMinistationService
Defines UbiquitiMinistationService interface
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Field Detail |
---|
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
Method Detail |
---|
IUbiquitiMinistationManagement getMinistationManagement() throws java.lang.Exception
IUbiquitiMinistationManagement
java.lang.Exception
IUbiquitiMinistationManagement getMinistationManagement(long tout) throws java.lang.Exception
tout
- - timeout in msec as long
IUbiquitiMinistationManagement
java.lang.Exception
boolean isReachable() throws java.lang.Exception
boolean
java.lang.Exception
boolean isReachable(long tout) throws java.lang.Exception
tout
- - configuration timeout in msec as long
boolean
java.lang.Exception
java.lang.String getBindIface()
String
void setBindIface(java.lang.String iface)
iface
- - name of the bind interface as String
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) throws java.lang.Exception
essid
- - service set ID as String
channel
- - 802.11 channel as int
txPower
- - output power in dBm as int
securityType
- - security type as int
password
- - password as String
bridgeIpAddress
- - bridge IP address as String
wifiNetmask
- - netmask as String
gateway
- - default gateway as String
java.lang.Exception
void setToDhcpBridge(java.lang.String essid, int txPower, int securityType, java.lang.String password) throws java.lang.Exception
essid
- - service set ID as String
txPower
- - output power in dBm as int
securityType
- - security type as int
password
- - password as String
java.lang.Exception
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) throws java.lang.Exception
essid
- - service set ID as String
txPower
- - output power in dBm as int
securityType
- - security type as int
password
- - password as String
wifiIpAddress
- - IP address as String
wifiNetmask
- - netmask as String
gateway
- - default gateway as String
primaryDns
- - primary DNS as String
secondaryDns
- - secondary DNS as String
java.lang.Exception
java.util.Properties getRunningConfiguration() throws java.lang.Exception
Properties
java.lang.Exception
java.util.Properties getStartupConfiguration() throws java.lang.Exception
Properties
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |