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
ConstructorsModifierConstructorDescriptionprotected
StandardReleaseHandle
(AntPluginPcc.IPluginAccessResultReceiver<T> resultReceiver, AntPluginPcc.IDeviceStateChangeReceiver stateReceiver) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
This 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:PccReleaseHandle
This method indicates to the lower layer that the request has been cancelled. This is so far used by theAsyncScanController
so 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:
requestCancelled
in classPccReleaseHandle<T extends AntPluginPcc>
-