org.davic.net.dvb
Class DvbNetworkBoundLocator
java.lang.Object
org.davic.net.Locator
org.davic.net.dvb.DvbLocator
org.davic.net.dvb.DvbNetworkBoundLocator
- All Implemented Interfaces:
- javax.tv.locator.Locator, TransportDependentLocator
- public class DvbNetworkBoundLocator
- extends DvbLocator
- implements TransportDependentLocator
DVB Locator that is bound to a network.
An object of this type identifies uniquely a given entity
and the delivery system in which it is carried.
For example, a service may be carried in both satellite
and terrestrial networks and the DvbLocator identifying that
service may be common, but both of them will have a different
DvbNetworkBoundLocator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.tv.locator.Locator |
equals, hashCode |
DvbNetworkBoundLocator
public DvbNetworkBoundLocator(DvbLocator unboundLocator,
int networkId)
throws InvalidLocatorException
- Constructor for a network bound locator
- Parameters:
unboundLocator
- an unbound DVB locatornetworkId
- network identifier of the network
- Throws:
InvalidLocatorException
- when the parameters to construct
the locator wouldn't specify a valid locator
(e.g. a numeric identifier out of range)
getNetworkId
public int getNetworkId()
- Returns the network_id
- Returns:
- network_id