|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
| 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. |
boolean |
NetworkDeviceStatusListener.timingOut(NetworkDevice device)
Reports when device is about to be disconnected
because the inactivity timeout period given at construction time
has elapsed.
|
void |
NetworkDeviceStatusListener.disconnected(NetworkDevice device)
Reports when device has been disconnected. |
|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||