org.dvb.net.tuning
Class DvbNetworkInterfaceSIUtil

java.lang.Object
  extended byorg.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(SIDatabase sd)
          Gets the network interface for a particular SI database.
static SIDatabase getSIDatabase(NetworkInterface ni)
          Gets the SI database for a particular network interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSIDatabase

public static 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(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