public class EthernetServiceImpl
extends IEthernetManager.Stub
Constructor and Description |
---|
EthernetServiceImpl(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(IEthernetServiceListener listener)
Addes a listener.
|
protected void |
dump(FileDescriptor fd,
PrintWriter writer,
String[] args) |
IpConfiguration |
getConfiguration()
Get Ethernet configuration
|
boolean |
isAvailable()
Indicates whether the system currently has one or more
Ethernet interfaces.
|
void |
removeListener(IEthernetServiceListener listener)
Removes a listener.
|
void |
setConfiguration(IpConfiguration config)
Set Ethernet configuration
|
void |
start() |
public EthernetServiceImpl(Context context)
public void start()
public IpConfiguration getConfiguration()
IpConfiguration
.public void setConfiguration(IpConfiguration config)
public boolean isAvailable()
public void addListener(IEthernetServiceListener listener)
listener
- A IEthernetServiceListener
to add.public void removeListener(IEthernetServiceListener listener)
listener
- A IEthernetServiceListener
to remove.protected void dump(FileDescriptor fd, PrintWriter writer, String[] args)