|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.sun.dtv.filtering.DataSectionFilterEvent com.sun.dtv.filtering.FilteringStoppedEvent
public class FilteringStoppedEvent
This class is used to report the end of a filtering operation with one exception: It
is not generated when filtering stops for a SimpleSectionFilter
under
normal circumstances (i.e. after one section has successfully been filtered).
DataSectionFilterEvent
,
Serialized FormField Summary | |
---|---|
static int |
CAUSE_FILTER_INCOMPLETE
Incomplete filter cause |
static int |
CAUSE_FILTER_RESOURCE_LOST
Section filter resources are removed from a connected DataSectionFilterCollection . |
static int |
CAUSE_FILTER_TIMEOUT
This cause is generated if section filter operations time out within the period specified by the setTimeOut() method. |
static int |
CAUSE_TRANSPORT_STREAM_DISCONNECTED
A TransportStream which was attached to a DataSectionFilterCollection
gets disconnected or becomes unavailable, causing filtering to stop. |
static int |
CAUSE_UNKNOWN
Unknown cause |
static int |
CAUSE_VERSION_CHANGE_DETECTED
This cause is used by ListFilter to report that a section has been
encountered which has a different version_number from earlier sections. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
FilteringStoppedEvent(DataSectionFilter f,
Object refObj)
This constructs an FilteringStoppedEvent for the specified DataSectionFilter object. |
|
FilteringStoppedEvent(DataSectionFilter f,
Object refObj,
int cause)
This constructs an FilteringStoppedEvent for the specified DataSectionFilter object. |
Method Summary | |
---|---|
int |
getCause()
Set the cause for the filtering operation being stopped. |
Methods inherited from class com.sun.dtv.filtering.DataSectionFilterEvent |
---|
getrefObj, getSource |
Methods inherited from class java.util.EventObject |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CAUSE_UNKNOWN
public static final int CAUSE_FILTER_INCOMPLETE
public static final int CAUSE_FILTER_TIMEOUT
setTimeOut()
method.
For a SimpleSectionFilter
it will be generated if no sections arrive within
the specified period.
For a TableSectionFilter
, it will be generated if the complete table does not
arrive within the specified time.
For a
RingSectionFilter
, it will be generated if the specified time has elapsed
since the arrival of the last section being successfully filtered.
public static final int CAUSE_VERSION_CHANGE_DETECTED
ListFilter
to report that a section has been
encountered which has a different version_number from earlier sections. It is generated
only once per filtering action. The section with a different version_number is ignored.
public static final int CAUSE_FILTER_RESOURCE_LOST
DataSectionFilterCollection
.
public static final int CAUSE_TRANSPORT_STREAM_DISCONNECTED
DataSectionFilterCollection
gets disconnected or becomes unavailable, causing filtering to stop.
Constructor Detail |
---|
public FilteringStoppedEvent(DataSectionFilter f, Object refObj)
FilteringStoppedEvent
for the specified DataSectionFilter
object.
f
- the DataSectionFilter
object where the event originatedrefObj
- application data that was passed to the startFiltering
methodpublic FilteringStoppedEvent(DataSectionFilter f, Object refObj, int cause)
FilteringStoppedEvent
for the specified DataSectionFilter
object.
This constructor permits the cause of the filter stopping to be specified
f
- the DataSectionFilter
object where the event originatedrefObj
- application data that was passed to the startFiltering
methodcause
- the cause of the filter stoppingMethod Detail |
---|
public int getCause()
|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |