com.github.sarxos.webcam.ds.buildin.cgt
Class CloseSessionTask
java.lang.Object
com.github.sarxos.webcam.ds.buildin.WebcamGrabberTask
com.github.sarxos.webcam.ds.buildin.cgt.CloseSessionTask
public class CloseSessionTask
- extends WebcamGrabberTask
This task is to close grabber session.
- Author:
- Bartosz Firyn (SarXos)
|
Method Summary |
void |
closeSession()
Method to be called from outside of the processor thread. |
protected void |
handle()
Method to be called from inside of the processor thread. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloseSessionTask
public CloseSessionTask(WebcamGrabberProcessor processor)
- Create task closing session of grabber connected with specific device.
- Parameters:
processor -
closeSession
public void closeSession()
- Method to be called from outside of the processor thread.
handle
protected void handle()
- Description copied from class:
WebcamGrabberTask
- Method to be called from inside of the processor thread.
- Specified by:
handle in class WebcamGrabberTask
Copyright © 2012-2013 Bartosz Firyn (SarXos). All Rights Reserved.