org.dvb.locator
Class FrequencyLocator
java.lang.Object
org.davic.net.Locator
org.dvb.locator.FrequencyLocator
- All Implemented Interfaces:
- javax.tv.locator.Locator
public class FrequencyLocator
- extends Locator
Used to reference a service that does not carry any DVB-SI and hence
does not appear in the service list of a receiver.
The external form of locators of this class is implementation
specific.
- Since:
- MHP 1.1.2
Constructor Summary |
FrequencyLocator(byte[] delivery_system_descriptor,
int program_number)
Constructor for referencing a service which does not carry any DVB-SI. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.tv.locator.Locator |
equals, hashCode |
FrequencyLocator
public FrequencyLocator(byte[] delivery_system_descriptor,
int program_number)
throws InvalidLocatorException
- Constructor for referencing a service which does not carry any DVB-SI.
- Parameters:
delivery_system_descriptor
- one of the delivery system descriptors defined in clause 6.2.13 ("Delivery system descriptors") of the DVB-SI specification.program_number
- the MPEG program_number of the service within the transport stream
- Throws:
InvalidLocatorException
- if the delivery_system_descriptor parameter is incorrect - the descriptor tag does not define one of the permitted descriptors, the length of the array is not correct for the descriptor tag, any values within the descriptor are outside any range defined for them.
getDeliverySystemDescriptor
public byte[] getDeliverySystemDescriptor()
- Return the delivery system descriptor as passed into the constructor
- Returns:
- a byte array containing a DVB-SI delivery system descriptor
getProgramNumber
public int getProgramNumber()
- Return the MPEG program number as passed in to the constructor
- Returns:
- an MPEG program number