Class AntPluginPcc.StandardReleaseHandle<T extends AntPluginPcc>
java.lang.Object
com.dsi.ant.plugins.antplus.pccbase.PccReleaseHandle<T>
com.dsi.ant.plugins.antplus.pccbase.AntPluginPcc.StandardReleaseHandle<T>
- Enclosing class:
- AntPluginPcc
protected final class AntPluginPcc.StandardReleaseHandle<T extends AntPluginPcc>
extends PccReleaseHandle<T>
-
Field Summary
Fields inherited from class com.dsi.ant.plugins.antplus.pccbase.PccReleaseHandle
isClosed, resultSent, resultSink, stateLock, stateSink -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStandardReleaseHandle(AntPluginPcc.IPluginAccessResultReceiver<T> resultReceiver, AntPluginPcc.IDeviceStateChangeReceiver stateReceiver) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThis method indicates to the lower layer that the request has been cancelled.Methods inherited from class com.dsi.ant.plugins.antplus.pccbase.PccReleaseHandle
close, isActive
-
Constructor Details
-
StandardReleaseHandle
protected StandardReleaseHandle(AntPluginPcc.IPluginAccessResultReceiver<T> resultReceiver, AntPluginPcc.IDeviceStateChangeReceiver stateReceiver)
-
-
Method Details
-
requestCancelled
protected void requestCancelled()Description copied from class:PccReleaseHandleThis method indicates to the lower layer that the request has been cancelled. This is so far used by theAsyncScanControllerso that it knows to close itself if the result was a search timeout. The request itself does not need to be cancelled at the lower layers, the device will be released if needed when the result is received.- Specified by:
requestCancelledin classPccReleaseHandle<T extends AntPluginPcc>
-