org.dvb.net.tuning
Class DvbNetworkInterfaceSIUtil

java.lang.Object
  extended by org.dvb.net.tuning.DvbNetworkInterfaceSIUtil

public class DvbNetworkInterfaceSIUtil
extends java.lang.Object

Each SI database is associated with a network interface and vice versa. This class allows the application to query this association.

Since:
MHP 1.0.1

Method Summary
static NetworkInterface getNetworkInterface(org.dvb.si.SIDatabase sd)
          Gets the network interface for a particular SI database.
static org.dvb.si.SIDatabase getSIDatabase(NetworkInterface ni)
          Gets the SI database for a particular network interface.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSIDatabase

public static org.dvb.si.SIDatabase getSIDatabase(NetworkInterface ni)
Gets the SI database for a particular network interface.

Parameters:
ni - the network interface for which the associated SI database will be returned.
Returns:
the associated SI database

getNetworkInterface

public static NetworkInterface getNetworkInterface(org.dvb.si.SIDatabase sd)
Gets the network interface for a particular SI database.

Parameters:
sd - the SI database for which the associated network interface will be returned.
Returns:
the associated network interface