|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.ocap.media.VBIFilterEvent
public class VBIFilterEvent
This class represents a VBI filter event. When a specific event happens,
the VBIFilterListener.filterUpdate(org.ocap.media.VBIFilterEvent)
method is called with an event
that has a proper event code to indicate the event.
Field Summary | |
---|---|
static int |
EVENT_CODE_BUFFER_FULL
Indicates an internal buffer is full. |
static int |
EVENT_CODE_FAILED_TO_DESCRAMBLE
Indicates descrambling is unavailable for current video. |
static int |
EVENT_CODE_FIRST_VBI_DATA_AVAILABLE
Indicates that the first VBI data unit is available. |
static int |
EVENT_CODE_FORCIBLE_TERMINATED
Indicates current filtering is terminated forcibly for any reason except other EVENT_CODE_ constants. |
static int |
EVENT_CODE_TIME_NOTIFICATION
Indicates that a specified time-period elapsed after receiving the first byte of a data unit. |
static int |
EVENT_CODE_TIMEOUT
Indicates a timeout (specified by VBIFilter.setTimeOut(long) )
occurred, i.e., this event code indicates no data unit is available. |
static int |
EVENT_CODE_UNITS_NOTIFICATION
Indicates that the specified number of new data units are filtered and stored in a buffer cyclically. |
static int |
EVENT_CODE_VIDEO_SOURCE_CHANGED
Indicates the current video for VBI data unit filtering has changed. |
Constructor Summary | |
---|---|
VBIFilterEvent(VBIFilter f,
Object appData,
int evtCode)
This constructs a VBIFilterEvent for the specified VBIFilter object. |
Method Summary | |
---|---|
Object |
getAppData()
This method returns application specific data that was specified by VBIFilter.startFiltering() methods. |
int |
getEventCode()
This method returns the specific event code that caused this event. |
Object |
getSource()
This method returns an instance of a class implementing VBIFilter that is the source of the event. |
Methods inherited from class java.util.EventObject |
---|
toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int EVENT_CODE_FIRST_VBI_DATA_AVAILABLE
VBIFilter.startFiltering(java.lang.Object)
method even if multiple lines/fields is specified to the filter.
Filtering continues.
public static final int EVENT_CODE_FORCIBLE_TERMINATED
VBIFilter.stopFiltering()
is called.
public static final int EVENT_CODE_VIDEO_SOURCE_CHANGED
public static final int EVENT_CODE_FAILED_TO_DESCRAMBLE
public static final int EVENT_CODE_TIMEOUT
VBIFilter.setTimeOut(long)
)
occurred, i.e., this event code indicates no data unit is available.
public static final int EVENT_CODE_BUFFER_FULL
public static final int EVENT_CODE_TIME_NOTIFICATION
public static final int EVENT_CODE_UNITS_NOTIFICATION
Constructor Detail |
---|
public VBIFilterEvent(VBIFilter f, Object appData, int evtCode)
f
- the VBIFilter object where the event originated.appData
- application data that was passed to the startFiltering
method.evtCode
- the specific event code that caused this event.Method Detail |
---|
public Object getSource()
getSource
in class EventObject
public Object getAppData()
public int getEventCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |