Package org.epics.pvaccess.client
Interface ChannelRequest
-
- All Superinterfaces:
org.epics.pvdata.misc.Destroyable
,Lockable
- All Known Subinterfaces:
ChannelArray
,ChannelGet
,ChannelProcess
,ChannelPut
,ChannelPutGet
,ChannelRPC
- All Known Implementing Classes:
BaseV3ChannelGet
,BaseV3ChannelPut
,ChannelArrayRequestImpl
,ChannelGetRequestImpl
,ChannelProcessRequestImpl
,ChannelPutGetRequestImpl
,ChannelPutRequestImpl
,ChannelRPCRequestImpl
public interface ChannelRequest extends Lockable, org.epics.pvdata.misc.Destroyable
Base interface for all channel requests.- Author:
- mse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel()
Cancel any pending request.Channel
getChannel()
Get a channel instance this request belongs to.void
lastRequest()
Announce next request as last request.
-
-
-
Method Detail
-
getChannel
Channel getChannel()
Get a channel instance this request belongs to.- Returns:
- the channel instance.
-
cancel
void cancel()
Cancel any pending request. Completion will be reported via request's response callback:- if cancel() request is issued after the request was already complete, request success/failure completion will be reported and cancel() request ignored.
- if the request was actually canceled, cancellation completion is reported.
-
lastRequest
void lastRequest()
Announce next request as last request. When last request will be completed (regardless of completion status) the remote and local instance will be destroyed.
-
-