| Constructor and Description |
|---|
PvaClient() |
| Modifier and Type | Method and Description |
|---|---|
int |
cacheSize()
Get the number of cached gets and puts.
|
PvaClientChannel |
channel(String channelName)
Get a cached channel or create and connect to a new channel.
|
PvaClientChannel |
channel(String channelName,
String providerName)
Get a cached channel or create and connect to a new channel.
|
PvaClientChannel |
channel(String channelName,
String providerName,
double timeOut)
Get a cached channel or create and connect to a new channel.
|
void |
clearRequester()
Clear the requester.
|
PvaClientChannel |
createChannel(String channelName)
Create an PvaClientChannel.
|
PvaClientChannel |
createChannel(String channelName,
String providerName)
Create an PvaClientChannel with the specified provider.
|
void |
destroy()
Destroy all cached channels.
|
static PvaClient |
get()
Get the single instance of PvaClient.
|
static PvaClient |
get(String providerNames)
Get the single instance of PvaClient.
|
static boolean |
getDebug()
Is debug set?
|
String |
getRequesterName() |
void |
message(String message,
MessageType messageType) |
static void |
setDebug(boolean value)
Should debug info be shown?
|
void |
setRequester(Requester requester)
Set a requester.
|
String |
showCache()
Show the list of cached gets and puts.
|
public static PvaClient get(String providerNames)
providerNames - - space separated list of provider names.public static PvaClient get()
public void destroy()
public String getRequesterName()
getRequesterName in interface Requesterpublic void message(String message, MessageType messageType)
public PvaClientChannel channel(String channelName)
channelName - The channelName.RuntimeException - if connection fails.public PvaClientChannel channel(String channelName, String providerName)
channelName - The channelName.providerName - The provider name.RuntimeException - if connection fails.public PvaClientChannel channel(String channelName, String providerName, double timeOut)
channelName - The channelName.providerName - The provider name.timeOut - The number of seconds to wait for connection. 0.0 means forever.RuntimeException - if connection fails.public PvaClientChannel createChannel(String channelName)
channelName - The channelName.RuntimeException - if connection fails.public PvaClientChannel createChannel(String channelName, String providerName)
channelName - The channelName.providerName - The provider.RuntimeException - if connection fails.public void setRequester(Requester requester)
requester - The requester.public void clearRequester()
public String showCache()
public int cacheSize()
public static void setDebug(boolean value)
value - true or falsepublic static boolean getDebug()
Copyright © 2016 EPICS. All rights reserved.