org.jnetstream.capture
Interface CaptureListener


public interface CaptureListener

A listener that can be registered with a Capture object, to be notified of capture events.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Method Summary
 void processCloseCapture(Captures.Factory source, Capture<?> capture)
          Notifies that an existing capture session has been closed and is no longer active.
 void processOpenCapture(Captures.Factory source, Capture<?> capture)
          Notifies that a new capture session has been opened.
 

Method Detail

processOpenCapture

void processOpenCapture(Captures.Factory source,
                        Capture<?> capture)
Notifies that a new capture session has been opened.

Parameters:
source - source factory that opened the capture session
capture - new capture session just opened

processCloseCapture

void processCloseCapture(Captures.Factory source,
                         Capture<?> capture)
Notifies that an existing capture session has been closed and is no longer active.

Parameters:
source - source factory that the capture session was opened with
capture - capture that was closed