public class NetworkImpl extends Object implements Network
| Constructor and Description |
|---|
NetworkImpl(String name,
int networkID,
ServiceInformationType siType,
Date updatedTime) |
| Modifier and Type | Method and Description |
|---|---|
Locator |
getLocator()
Gets the complete Locator of this SI Element.
|
String |
getName()
This method returns the name of this network.
|
int |
getNetworkID()
This method returns the ID of this Network
|
ServiceInformationType |
getServiceInformationType()
Reports the service information format of this object.
|
Date |
getUpdateTime()
Returns the time when this object was last updated from data in
the broadcast.
|
SIRequest |
retrieveTransportStreams(SIRequestor requestor)
Retrieves an array of
TransportStream objects
representing the transport streams carried in this
Network. |
public NetworkImpl(String name, int networkID, ServiceInformationType siType, Date updatedTime)
public int getNetworkID()
getNetworkID in interface Networkpublic String getName()
public Locator getLocator()
getLocator in interface SIElementpublic Date getUpdateTime()
getUpdateTime in interface SIRetrievablenull
if unknown.public ServiceInformationType getServiceInformationType()
getServiceInformationType in interface SIElementpublic SIRequest retrieveTransportStreams(SIRequestor requestor)
TransportStream objects
representing the transport streams carried in this
Network. Only TransportStream instances
for which the caller has
javax.tv.service.ReadPermission on the underlying
locator will be present in the array. If this
Network does not aggregate transport streams, the
result is a zero-length array.This method delivers its results asynchronously.
retrieveTransportStreams in interface Networklocator - A locator referencing a Network from
which to retrieve transport stream information.requestor - The SIRequestor to be notified
when this retrieval operation completes.SIRequest object identifying this
asynchronous retrieval request.InvalidLocatorException - If locator does not
reference a valid Network on the Transport
implementing this interface.SecurityException - if the caller does not have
javax.tv.service.ReadPermission(locator).TransportStream,
ReadPermissionCopyright © 2012 code4tv.com. All Rights Reserved.