Package org.epics.pvaccess.client
Interface ChannelProvider
-
- All Known Implementing Classes:
RPCChannelProvider
public interface ChannelProviderInterface implemented by code that can provide access to the record to which a channel connects.- Author:
- mrk
-
-
Field Summary
Fields Modifier and Type Field Description static shortPRIORITY_ARCHIVEArchive priority.static shortPRIORITY_DEFAULTDefault priority.static shortPRIORITY_LINKS_DBDB links priority.static shortPRIORITY_MAXMaximal priority.static shortPRIORITY_MINMinimal priority.static shortPRIORITY_OPIOPI priority.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChannelFindchannelFind(String channelName, ChannelFindRequester channelFindRequester)Find a channel.ChannelFindchannelList(ChannelListRequester channelListRequester)Find a channel.ChannelcreateChannel(String channelName, ChannelRequester channelRequester, short priority)Create a channel.ChannelcreateChannel(String channelName, ChannelRequester channelRequester, short priority, String address)Create a channel.voiddestroy()Terminate.StringgetProviderName()Get the provider name.
-
-
-
Field Detail
-
PRIORITY_MIN
static final short PRIORITY_MIN
Minimal priority.- See Also:
- Constant Field Values
-
PRIORITY_MAX
static final short PRIORITY_MAX
Maximal priority.- See Also:
- Constant Field Values
-
PRIORITY_DEFAULT
static final short PRIORITY_DEFAULT
Default priority.- See Also:
- Constant Field Values
-
PRIORITY_LINKS_DB
static final short PRIORITY_LINKS_DB
DB links priority.- See Also:
- Constant Field Values
-
PRIORITY_ARCHIVE
static final short PRIORITY_ARCHIVE
Archive priority.- See Also:
- Constant Field Values
-
PRIORITY_OPI
static final short PRIORITY_OPI
OPI priority.- See Also:
- Constant Field Values
-
-
Method Detail
-
destroy
void destroy()
Terminate.
-
getProviderName
String getProviderName()
Get the provider name.- Returns:
- The name.
-
channelFind
ChannelFind channelFind(String channelName, ChannelFindRequester channelFindRequester)
Find a channel.- Parameters:
channelName- The channel name.channelFindRequester- The requester.- Returns:
- An interface for the find.
-
channelList
ChannelFind channelList(ChannelListRequester channelListRequester)
Find a channel.- Parameters:
channelListRequester- The requester.- Returns:
- An interface for the find.
-
createChannel
Channel createChannel(String channelName, ChannelRequester channelRequester, short priority)
Create a channel.- Parameters:
channelName- The name of the channel.channelRequester- The requester.priority- channel priority, must bePRIORITY_MIN≤ priority ≤PRIORITY_MAX.- Returns:
Channelinstance. If channel does not existnullis returned andchannelRequesternotified.
-
createChannel
Channel createChannel(String channelName, ChannelRequester channelRequester, short priority, String address)
Create a channel.- Parameters:
channelName- The name of the channel.channelRequester- The requester.priority- channel priority, must bePRIORITY_MIN≤ priority ≤PRIORITY_MAX.address- address (or list of addresses) where to look for a channel. Implementation independent string.- Returns:
Channelinstance. If channel does not existnullis returned andchannelRequesternotified.
-
-