|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.davic.net.tuning.NetworkInterfaceManager
public class NetworkInterfaceManager
A network interface manager is an object that keeps track of broadcast network interfaces that are connected to the receiver.
There is only one instance of the network interface manager in a receiver and this can be retrieved using the getInstance method.
| Method Summary | |
|---|---|
void |
addResourceStatusEventListener(ResourceStatusListener listener)
Registers a resource status listener to receive resource status events |
static NetworkInterfaceManager |
getInstance()
Returns the instance of the NetworkInterfaceManager |
NetworkInterface |
getNetworkInterface(TransportStream ts)
Returns the NetworkInterface with which the specified TransportStream object is associated. |
NetworkInterface[] |
getNetworkInterfaces()
Returns all network interfaces. |
void |
removeResourceStatusEventListener(ResourceStatusListener listener)
Removes the registration of a registered listener so that it will not receive resource status events any more |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NetworkInterfaceManager getInstance()
public NetworkInterface[] getNetworkInterfaces()
If there are no network interfaces, returns an array with the length of zero.
public NetworkInterface getNetworkInterface(TransportStream ts)
ts - Transport stream object
public void addResourceStatusEventListener(ResourceStatusListener listener)
addResourceStatusEventListener in interface ResourceServerlistener - listener to be registeredpublic void removeResourceStatusEventListener(ResourceStatusListener listener)
removeResourceStatusEventListener in interface ResourceServerlistener - listener whose registration is to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||