public interface IEthernetDevice extends IAdvanceDevice
| Modifier and Type | Method and Description |
|---|---|
void |
enableStaticIp(boolean isStaticIp)
enable Static Ip, Call before setStaticIp
|
IpBean |
getStaticIp() |
boolean |
isEnabledEthernet()
Is enable Ethernet : enable or disable.
|
boolean |
isStaticIp()
Check the current Ethernet IP status.
|
void |
setEthernet(boolean enable)
enable/disable Ethernet device
|
boolean |
setStaticIp(IpBean ipBean)
set the Ethernet static IP.
|
close, isOpened, openvoid enableStaticIp(boolean isStaticIp)
throws DeviceException
isStaticIp: - true for static ip, else for dhcp.DeviceExceptionIpBean getStaticIp() throws DeviceException
DeviceExceptionboolean isEnabledEthernet()
throws DeviceException
DeviceExceptionboolean isStaticIp()
throws DeviceException
DeviceExceptionvoid setEthernet(boolean enable)
throws DeviceException
enable: - true, open Ethernet; false, close Ethernet.DeviceExceptionboolean setStaticIp(IpBean ipBean) throws DeviceException
DeviceException