public class NetworkInterface extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
NetworkInterface()
This constructor is provided for the use of implementations and specifications which
extend the present document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNetworkInterfaceListener(NetworkInterfaceListener listener)
Adds a listener for network interface events
|
boolean |
equals(Object other)
Tests for equality where two NetworkInterface objects are equal if and only if
they control the same physical tuner.
|
TransportStream |
getCurrentTransportStream()
Returns the transport stream to which the network
Interface is currently tuned.
|
int |
getDeliverySystemType()
This method returns the type of the delivery system
that this network interface is connected to.
|
Locator |
getLocator()
Returns the Locator of the transport stream to which the network
interface is connected.
|
int |
hashCode()
Returns a hash code value for the object.
|
boolean |
isLocal() |
boolean |
isReserved() |
TransportStream[] |
listAccessibleTransportStreams()
Lists the known transport streams that are accessible through
this network interface.
|
void |
removeNetworkInterfaceListener(NetworkInterfaceListener listener)
Removes a registered listener
|
protected NetworkInterface()
public TransportStream getCurrentTransportStream()
public Locator getLocator()
public boolean isReserved()
public boolean isLocal()
public TransportStream[] listAccessibleTransportStreams()
public int getDeliverySystemType()
public void addNetworkInterfaceListener(NetworkInterfaceListener listener)
listener - listener object to be registered to receive network interface
eventspublic void removeNetworkInterfaceListener(NetworkInterfaceListener listener)
listener - listener object to be removed so that it will not receive
network interface events in futurepublic boolean equals(Object other)
Copyright © 2012 code4tv.com. All Rights Reserved.