|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use NetworkDevice | |
---|---|
com.sun.dtv.net | Extends the java.net package with extensive
communication device control. |
Uses of NetworkDevice in com.sun.dtv.net |
---|
Methods in com.sun.dtv.net that return NetworkDevice | |
---|---|
static NetworkDevice[] |
NetworkDevice.getInstances(int type)
Returns an array of handlers representing each a NetworkDevice resource available on the platform that
meet the criteria defined by type . |
static NetworkDevice |
NetworkDevice.reserveOne(boolean force,
long timeoutms,
ScarceResourceListener listener,
int type)
Returns a reserved instance out of the pool of all NetworkDevice instances of the given type . |
Methods in com.sun.dtv.net with parameters of type NetworkDevice | |
---|---|
void |
NetworkDeviceStatusListener.connected(NetworkDevice device,
NetworkInterface netif)
Reports when device has been connected. |
void |
NetworkDeviceStatusListener.connectionFailed(NetworkDevice device,
String reason)
Reports when device could not connect for some reason. |
void |
NetworkDeviceStatusListener.currentDataRate(NetworkDevice device,
long dataRate)
Reports the current data rate of a given device if it has
changed since the last report. |
void |
NetworkDeviceStatusListener.disconnected(NetworkDevice device)
Reports when device has been disconnected. |
boolean |
NetworkDeviceStatusListener.timingOut(NetworkDevice device)
Reports when device is about to be disconnected
because the inactivity timeout period given at construction time
has elapsed. |
|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV NEXT | FRAMES NO FRAMES |