public abstract class Channel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static ChannelSystem |
channelSystem
Static variables
|
protected boolean |
connectionFlag
hold connection status
|
protected ConnectionListener |
connectionProxy
Notify listeners when connection is made or dropped
|
protected double |
m_dblTmEvt |
protected double |
m_dblTmIO |
protected java.lang.String |
m_strId
Local Attributes
|
protected static MessageCenter |
messageCenter
One Message Center for all Channel events
|
Modifier | Constructor and Description |
---|---|
protected |
Channel()
Creates empty Channel
|
protected |
Channel(java.lang.String name)
Creates new Channel
|
protected |
Channel(java.lang.String name,
ValueTransform aTransform)
Create a new Channel
|
Modifier and Type | Method and Description |
---|---|
void |
addConnectionListener(ConnectionListener listener)
Add a listener of connection changes
|
abstract Monitor |
addMonitorValStatus(IEventSinkValStatus listener,
int intMaskFire)
Setup a value-status monitor on this channel
|
abstract Monitor |
addMonitorValTime(IEventSinkValTime listener,
int intMaskFire)
Setup a value-status-timestamp monitor on this channel
|
abstract Monitor |
addMonitorValue(IEventSinkValue listener,
int intMaskFire)
Setup a value monitor on this channel
|
java.lang.String |
channelName()
Returns EPICS channel name for process variable
|
void |
checkConnection()
Checks for process variable channel connection and throws a ConnectionException if absent.
|
protected void |
checkConnection(java.lang.String methodName)
Checks for process variable channel connection and throws a ConnectionException if absent after attempting a connection if necessary.
|
protected void |
checkConnection(java.lang.String methodName,
boolean attemptConnection)
Checks for process variable channel connection and throws a ConnectionException if absent.
|
boolean |
connectAndWait()
Connect and wait the default timeout.
|
abstract boolean |
connectAndWait(double timeout)
Request a new connection and wait for it no longer than the timeout.
|
abstract void |
disconnect()
Terminate the network channel connection and clear all events associated
with process variable
|
abstract int |
elementCount()
Return size of value array associated with process variable
|
abstract java.lang.Class<?> |
elementType()
get the Java class associated with the native type of this channel
|
static void |
flushIO()
flush IO requests
|
abstract java.lang.String[] |
getAlarmLimitPVs()
Get the lower and upper alarm limit PVs
|
ArrayValue |
getArrayValue()
Fetch the data value for the channel and return it as an ArrayValue.
|
byte[] |
getArrByte()
Get channel value as array
|
void |
getArrByteCallback(IEventSinkArrByte listener)
Get the value of the process variable via a callback to the specified listener.
|
double[] |
getArrDbl() |
void |
getArrDblCallback(IEventSinkArrDbl listener)
Get the value of the process variable via a callback to the specified listener.
|
float[] |
getArrFlt() |
void |
getArrFltCallback(IEventSinkArrFlt listener)
Get the value of the process variable via a callback to the specified listener.
|
int[] |
getArrInt() |
void |
getArrIntCallback(IEventSinkArrInt listener)
Get the value of the process variable via a callback to the specified listener.
|
java.lang.String[] |
getArrString() |
abstract java.lang.String[] |
getDriveLimitPVs()
Get the lower and upper drive limit PVs
|
double |
getEventTimeout()
Get the channel access Pend Event timeout
|
java.lang.String |
getId()
Return a unique identifier of this channel so as to distinguish
channels which share the same PV but have different transforms.
|
static Channel |
getInstance(java.lang.String signalName)
From the default channel factory, get a channel for the specified signal name.
|
static Channel |
getInstance(java.lang.String signalName,
ValueTransform transform)
From the default channel factory, get a channel for the specified signal name and value transform.
|
double |
getIoTimeout()
Get the channel access Pend IO timeout
|
abstract java.lang.String[] |
getOperationLimitPVs()
Get the lower and upper operation limit PVs
|
abstract ChannelStatusRecord |
getRawStatusRecord()
Return a raw
ChannelStatusRecord representing the fetched record for the
native type of this channel. |
protected abstract ChannelStatusRecord |
getRawStringStatusRecord()
Get a
ChannelStatusRecord representing the fetched record for the specified type. |
protected abstract ChannelTimeRecord |
getRawStringTimeRecord()
Get a
ChannelTimeRecord representing the fetched record for the specified type. |
protected abstract ChannelRecord |
getRawStringValueRecord()
Get a
ChannelRecord representing the fetched record for the specified type. |
abstract ChannelTimeRecord |
getRawTimeRecord()
Return a raw
ChannelTimeRecord representing the fetched record for the
native type of this channel. |
protected abstract void |
getRawValueCallback(IEventSinkValue listener)
Handle a callback for getting the raw value for the channel.
|
protected abstract void |
getRawValueCallback(IEventSinkValue listener,
boolean attemptConnection)
Handle a callback for getting the raw value for the channel.
|
abstract ChannelRecord |
getRawValueRecord()
Return a raw
ChannelRecord representing the fetched record for the
native type of this channel. |
abstract void |
getRawValueTimeCallback(IEventSinkValTime listener,
boolean attemptConnection)
Submit a non-blocking Get request with callback
|
ChannelStatusRecord |
getStatusRecord()
Return a
ChannelStatusRecord representing the fetched record for the
native type of this channel. |
ChannelRecord |
getStringStatusRecord()
Get a
ChannelStatusRecord representing the fetched record for the native type of this channel. |
ChannelRecord |
getStringTimeRecord()
Get a
ChannelTimeRecord representing the fetched record for the native type of this channel. |
ChannelRecord |
getStringValueRecord()
Get a
ChannelRecord representing the fetched record for the native type of this channel. |
ChannelTimeRecord |
getTimeRecord()
Return a
ChannelTimeRecord representing the fetched record for the native type of this channel. |
abstract java.lang.String |
getUnits()
Convenience method which returns the units for this channel.
|
byte |
getValByte()
Get channel value
|
void |
getValByteCallback(IEventSinkValByte listener)
Get the value of the process variable via a callback to the specified listener.
|
double |
getValDbl() |
void |
getValDblCallback(IEventSinkValDbl listener)
Get the value of the process variable via a callback to the specified listener.
|
int |
getValEnum() |
float |
getValFlt() |
void |
getValFltCallback(IEventSinkValFlt listener)
Get the value of the process variable via a callback to the specified listener.
|
int |
getValInt() |
void |
getValIntCallback(IEventSinkValInt listener)
Get the value of the process variable via a callback to the specified listener.
|
java.lang.String |
getValString() |
void |
getValueCallback(IEventSinkValue listener)
Get the value of the process variable via a callback to the specified listener.
|
void |
getValueCallback(IEventSinkValue listener,
boolean attemptConnection)
Get the value of the process variable via a callback to the specified listener.
|
ChannelRecord |
getValueRecord()
Return a
ChannelRecord representing the fetched record for the
native type of this channel. |
void |
getValueTimeCallback(IEventSinkValTime listener,
boolean attemptConnection)
Get the value time record of the process variable via a callback to the specified listener.
|
ValueTransform |
getValueTransform()
Get the value transform applied to this channel.
|
abstract java.lang.String[] |
getWarningLimitPVs()
Get the lower and upper warning limit PVs
|
boolean |
isConnected()
Checks if channel is connected to process variable
|
boolean |
isValid()
determine whether this channel is valid
|
java.lang.Number |
lowerAlarmLimit()
Convenience method which returns the lower alarm limit.
|
java.lang.Number |
lowerControlLimit()
Convenience method which returns the lower control limit.
|
java.lang.Number |
lowerDisplayLimit()
Convenience method which returns the lower display limit.
|
java.lang.Number |
lowerWarningLimit()
Convenience method which returns the lower warning limit.
|
static void |
pendEvent(double timeout)
Flush the EPICS Channel Access request buffer and wait for asyncrhonous event.
|
static boolean |
pendIO(double timeout)
Flush the EPICS Channel Access request buffer and return as soon as complete or timeout has
expired.
|
abstract void |
putRawValCallback(byte[] newVal,
PutListener listener)
Asynchronously put a raw value to the channel process variable.
|
abstract void |
putRawValCallback(byte newVal,
PutListener listener)
Asynchronously put a raw value to the channel process variable.
|
abstract void |
putRawValCallback(double[] newVal,
PutListener listener)
Asynchronously put a raw value to the channel process variable.
|
abstract void |
putRawValCallback(double newVal,
PutListener listener)
Asynchronously put a raw value to the channel process variable.
|
abstract void |
putRawValCallback(float[] newVal,
PutListener listener)
Asynchronously put a raw value to the channel process variable.
|
abstract void |
putRawValCallback(float newVal,
PutListener listener)
Asynchronously put a raw value to the channel process variable.
|
abstract void |
putRawValCallback(int[] newVal,
PutListener listener)
Asynchronously put a raw value to the channel process variable.
|
abstract void |
putRawValCallback(int newVal,
PutListener listener)
Asynchronously put a raw value to the channel process variable.
|
abstract void |
putRawValCallback(short[] newVal,
PutListener listener)
Asynchronously put a raw value to the channel process variable.
|
abstract void |
putRawValCallback(short newVal,
PutListener listener)
Asynchronously put a raw value to the channel process variable.
|
abstract void |
putRawValCallback(java.lang.String newVal,
PutListener listener)
Asynchronously put a raw value to the channel process variable.
|
void |
putVal(byte newVal)
Synchronously put a value to the channel process variable.
|
void |
putVal(byte[] newVal)
Synchronously put a value to the channel process variable.
|
void |
putVal(double newVal)
Synchronously put a value to the channel process variable.
|
void |
putVal(double[] newVal)
Synchronously put a value to the channel process variable.
|
void |
putVal(float newVal)
Synchronously put a value to the channel process variable.
|
void |
putVal(float[] newVal)
Synchronously put a value to the channel process variable.
|
void |
putVal(int newVal)
Synchronously put a value to the channel process variable.
|
void |
putVal(int[] newVal)
Synchronously put a value to the channel process variable.
|
void |
putVal(short newVal)
Synchronously put a value to the channel process variable.
|
void |
putVal(short[] newVal)
Synchronously put a value to the channel process variable.
|
void |
putVal(java.lang.String newVal)
Synchronously put a value to the channel process variable.
|
void |
putValCallback(byte[] newVal,
PutListener listener)
Asynchronously put a value to the channel process variable.
|
void |
putValCallback(byte newVal,
PutListener listener)
Asynchronously put a value to the channel process variable.
|
void |
putValCallback(double[] newVal,
PutListener listener)
Asynchronously put a value to the channel process variable.
|
void |
putValCallback(double newVal,
PutListener listener)
Asynchronously put a value to the channel process variable.
|
void |
putValCallback(float[] newVal,
PutListener listener)
Asynchronously put a value to the channel process variable.
|
void |
putValCallback(float newVal,
PutListener listener)
Asynchronously put a value to the channel process variable.
|
void |
putValCallback(int[] newVal,
PutListener listener)
Asynchronously put a value to the channel process variable.
|
void |
putValCallback(int newVal,
PutListener listener)
Asynchronously put a value to the channel process variable.
|
void |
putValCallback(short[] newVal,
PutListener listener)
Asynchronously put a value to the channel process variable.
|
void |
putValCallback(short newVal,
PutListener listener)
Asynchronously put a value to the channel process variable.
|
void |
putValCallback(java.lang.String newVal,
PutListener listener)
Asynchronously put a value to the channel process variable.
|
abstract java.lang.Number |
rawLowerAlarmLimit()
Convenience method which returns the lower alarm limit.
|
abstract java.lang.Number |
rawLowerControlLimit()
Convenience method which returns the lower control limit.
|
abstract java.lang.Number |
rawLowerDisplayLimit()
Convenience method which returns the lower display limit.
|
abstract java.lang.Number |
rawLowerWarningLimit()
Convenience method which returns the lower warning limit.
|
abstract java.lang.Number |
rawUpperAlarmLimit()
Convenience method which returns the upper alarm limit.
|
abstract java.lang.Number |
rawUpperControlLimit()
Convenience method which returns the upper control limit.
|
abstract java.lang.Number |
rawUpperDisplayLimit()
Convenience method which returns the upper display limit.
|
abstract java.lang.Number |
rawUpperWarningLimit()
Convenience method which returns the upper warning limit.
|
abstract boolean |
readAccess()
Determine if channel has read access to process variable
|
void |
removeConnectionListener(ConnectionListener listener)
Remove a listener of connection changes
|
abstract void |
requestConnection()
Request that the channel be connected.
|
void |
setChannelName(java.lang.String strNameChan)
Set the EPICS channel name for the connection
|
static void |
setDebugMode(boolean bDebug) |
void |
setEventTimeout(double dblTm)
Set the channel access Pend Event timeout
|
void |
setIoTimeout(double dblTm)
Set the channel access Pend IO timeout
|
void |
setValid(boolean valid)
set whether this channel is valid
|
java.lang.Number |
upperAlarmLimit()
Convenience method which returns the upper alarm limit.
|
java.lang.Number |
upperControlLimit()
Convenience method which returns the upper control limit.
|
java.lang.Number |
upperDisplayLimit()
Convenience method which returns the upper display limit.
|
java.lang.Number |
upperWarningLimit()
Convenience method which returns the upper warning limit.
|
abstract boolean |
writeAccess()
Determine if channel has write access to process variable
|
protected static ChannelSystem channelSystem
protected java.lang.String m_strId
protected double m_dblTmIO
protected double m_dblTmEvt
protected ConnectionListener connectionProxy
protected static MessageCenter messageCenter
protected volatile boolean connectionFlag
protected Channel()
protected Channel(java.lang.String name)
name
- EPICS channel nameprotected Channel(java.lang.String name, ValueTransform aTransform)
name
- The EPICS PV nameaTransform
- The transform to apply to PV valuespublic static void flushIO()
public static boolean pendIO(double timeout)
timeout
- time to wait before giving uppublic static void pendEvent(double timeout)
timeout
- time to wait before giving uppublic static Channel getInstance(java.lang.String signalName)
signalName
- the PV for which to get the channelpublic static Channel getInstance(java.lang.String signalName, ValueTransform transform)
signalName
- the PV for which to get the channeltransform
- to transfrom the value between raw and physicalpublic void setValid(boolean valid)
valid
- marks whether the channel is valid (true) or not (false)public boolean isValid()
public ValueTransform getValueTransform()
public void addConnectionListener(ConnectionListener listener)
listener
- to register for connection eventspublic void removeConnectionListener(ConnectionListener listener)
listener
- to remove from receiving connection eventspublic java.lang.String getId()
public java.lang.String channelName()
public void setChannelName(java.lang.String strNameChan)
strNameChan
- EPICS channel namepublic static void setDebugMode(boolean bDebug)
public void setIoTimeout(double dblTm)
dblTm
- I/O timeoutpublic void setEventTimeout(double dblTm)
dblTm
- event timeoutpublic double getIoTimeout()
public double getEventTimeout()
public boolean connectAndWait()
public abstract boolean connectAndWait(double timeout)
timeout
- seconds to wait for a connection before giving uppublic abstract void requestConnection()
public abstract void disconnect()
public boolean isConnected()
public void checkConnection() throws ConnectionException
ConnectionException
- accordinglyprotected void checkConnection(java.lang.String methodName) throws ConnectionException
methodName
- name of method using connectionConnectionException
- accordinglyprotected void checkConnection(java.lang.String methodName, boolean attemptConnection) throws ConnectionException
methodName
- name of method using connectionattemptConnection
- indicates whether or not to attempt a blocking connection requestConnectionException
- accordinglypublic abstract java.lang.Class<?> elementType() throws ConnectionException
ConnectionException
- accordinglypublic abstract int elementCount() throws ConnectionException
ConnectionException
- accordinglypublic abstract boolean readAccess() throws ConnectionException
ConnectionException
- channel not connectedpublic abstract boolean writeAccess() throws ConnectionException
ConnectionException
- channel not connectedpublic abstract java.lang.String getUnits() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic abstract java.lang.String[] getOperationLimitPVs()
public abstract java.lang.String[] getWarningLimitPVs()
public abstract java.lang.String[] getAlarmLimitPVs()
public abstract java.lang.String[] getDriveLimitPVs()
public abstract java.lang.Number rawUpperDisplayLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic abstract java.lang.Number rawLowerDisplayLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic abstract java.lang.Number rawUpperAlarmLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic abstract java.lang.Number rawLowerAlarmLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic abstract java.lang.Number rawUpperWarningLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic abstract java.lang.Number rawLowerWarningLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic abstract java.lang.Number rawUpperControlLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic abstract java.lang.Number rawLowerControlLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic final java.lang.Number upperDisplayLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic final java.lang.Number lowerDisplayLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic final java.lang.Number upperAlarmLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic final java.lang.Number lowerAlarmLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic final java.lang.Number upperWarningLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic final java.lang.Number lowerWarningLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic final java.lang.Number upperControlLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic final java.lang.Number lowerControlLimit() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic byte getValByte() throws ConnectionException, GetException
ConnectionException
- channel not connectedGetException
- general channel access PV get failurepublic int getValEnum() throws ConnectionException, GetException
ConnectionException
GetException
public int getValInt() throws ConnectionException, GetException
ConnectionException
GetException
public float getValFlt() throws ConnectionException, GetException
ConnectionException
GetException
public double getValDbl() throws ConnectionException, GetException
ConnectionException
GetException
public java.lang.String getValString() throws ConnectionException, GetException
ConnectionException
GetException
public byte[] getArrByte() throws ConnectionException, GetException
ConnectionException
- channel not connectedGetException
- general channel access PV get failurepublic int[] getArrInt() throws ConnectionException, GetException
ConnectionException
GetException
public float[] getArrFlt() throws ConnectionException, GetException
ConnectionException
GetException
public double[] getArrDbl() throws ConnectionException, GetException
ConnectionException
GetException
public java.lang.String[] getArrString() throws ConnectionException, GetException
ConnectionException
GetException
public ArrayValue getArrayValue() throws ConnectionException, GetException
ConnectionException
- accordinglyGetException
- accordinglypublic abstract ChannelRecord getRawValueRecord() throws ConnectionException, GetException
ChannelRecord
representing the fetched record for the
native type of this channel. This is a convenient way to get the value of the PV.ConnectionException
- accordinglyGetException
- accordinglyprotected abstract ChannelRecord getRawStringValueRecord() throws ConnectionException, GetException
ChannelRecord
representing the fetched record for the specified type.ConnectionException
- accordinglyGetException
- accordinglyprotected abstract ChannelStatusRecord getRawStringStatusRecord() throws ConnectionException, GetException
ChannelStatusRecord
representing the fetched record for the specified type.ConnectionException
- accordinglyGetException
- accordinglyprotected abstract ChannelTimeRecord getRawStringTimeRecord() throws ConnectionException, GetException
ChannelTimeRecord
representing the fetched record for the specified type.ConnectionException
- accordinglyGetException
- accordinglypublic abstract ChannelStatusRecord getRawStatusRecord() throws ConnectionException, GetException
ChannelStatusRecord
representing the fetched record for the
native type of this channel. This is a convenient way to get the value of
the PV along with status.ConnectionException
- accordinglyGetException
- accordinglypublic abstract ChannelTimeRecord getRawTimeRecord() throws ConnectionException, GetException
ChannelTimeRecord
representing the fetched record for the
native type of this channel. This is a convenient way to get the value of
the PV along with status and timestamp.ConnectionException
- accordinglyGetException
- accordinglypublic final ChannelRecord getValueRecord() throws ConnectionException, GetException
ChannelRecord
representing the fetched record for the
native type of this channel. This is a convenient way to get the value of the PV.ConnectionException
- accordinglyGetException
- accordinglypublic final ChannelRecord getStringValueRecord() throws ConnectionException, GetException
ChannelRecord
representing the fetched record for the native type of this channel.ConnectionException
- accordinglyGetException
- accordinglypublic final ChannelRecord getStringStatusRecord() throws ConnectionException, GetException
ChannelStatusRecord
representing the fetched record for the native type of this channel.ConnectionException
- accordinglyGetException
- accordinglypublic final ChannelRecord getStringTimeRecord() throws ConnectionException, GetException
ChannelTimeRecord
representing the fetched record for the native type of this channel.ConnectionException
- accordinglyGetException
- accordinglypublic final ChannelStatusRecord getStatusRecord() throws ConnectionException, GetException
ChannelStatusRecord
representing the fetched record for the
native type of this channel. This is a convenient way to get the value of the PV along with status.ConnectionException
- accordinglyGetException
- accordinglypublic final ChannelTimeRecord getTimeRecord() throws ConnectionException, GetException
ChannelTimeRecord
representing the fetched record for the native type of this channel.
This is a convenient way to get the value of the PV along with status and timestamp.ConnectionException
- accordinglyGetException
- accordinglyprotected abstract void getRawValueCallback(IEventSinkValue listener) throws ConnectionException, GetException
listener
- The receiver of the callback.ConnectionException
- accordinglyGetException
- accordinglyprotected abstract void getRawValueCallback(IEventSinkValue listener, boolean attemptConnection) throws ConnectionException, GetException
listener
- The receiver of the callback.attemptConnection
- indicates whether or not to attempt a blocking connection if this channel is not connectedConnectionException
- accordinglyGetException
- accordinglypublic abstract void getRawValueTimeCallback(IEventSinkValTime listener, boolean attemptConnection) throws ConnectionException, GetException
listener
- to receive callback upon completionattemptConnection
- true to attempt connection and false not to attempt connectionConnectionException
- accordinglyGetException
- accordinglypublic final void getValueCallback(IEventSinkValue listener) throws ConnectionException, GetException
listener
- receiver of the callback event.ConnectionException
- channel is not connectedGetException
- general channel access failurepublic final void getValueCallback(IEventSinkValue listener, boolean attemptConnection) throws ConnectionException, GetException
listener
- receiver of the callback event.attemptConnection
- indicates whether or not to attempt a blocking connection if this channel is not connectedConnectionException
- channel is not connectedGetException
- general channel access failurepublic final void getValueTimeCallback(IEventSinkValTime listener, boolean attemptConnection) throws ConnectionException, GetException
listener
- receiver of the callback event.attemptConnection
- indicates whether or not to attempt a blocking connection if this channel is not connectedConnectionException
- channel is not connectedGetException
- general channel access failurepublic final void getValByteCallback(IEventSinkValByte listener) throws ConnectionException, GetException
listener
- receiver of the callback event.ConnectionException
- channel is not connectedGetException
- general channel access failurepublic final void getValIntCallback(IEventSinkValInt listener) throws ConnectionException, GetException
listener
- receiver of the callback event.ConnectionException
- channel is not connectedGetException
- general channel access failurepublic final void getValFltCallback(IEventSinkValFlt listener) throws ConnectionException, GetException
listener
- receiver of the callback event.ConnectionException
- channel is not connectedGetException
- general channel access failurepublic final void getValDblCallback(IEventSinkValDbl listener) throws ConnectionException, GetException
listener
- receiver of the callback event.ConnectionException
- channel is not connectedGetException
- general channel access failurepublic final void getArrByteCallback(IEventSinkArrByte listener) throws ConnectionException, GetException
listener
- receiver of the callback event.ConnectionException
- channel is not connectedGetException
- general channel access failurepublic final void getArrIntCallback(IEventSinkArrInt listener) throws ConnectionException, GetException
listener
- receiver of the callback event.ConnectionException
- channel is not connectedGetException
- general channel access failurepublic final void getArrFltCallback(IEventSinkArrFlt listener) throws ConnectionException, GetException
listener
- receiver of the callback event.ConnectionException
- channel is not connectedGetException
- general channel access failurepublic final void getArrDblCallback(IEventSinkArrDbl listener) throws ConnectionException, GetException
listener
- receiver of the callback event.ConnectionException
- channel is not connectedGetException
- general channel access failurepublic abstract Monitor addMonitorValTime(IEventSinkValTime listener, int intMaskFire) throws ConnectionException, MonitorException
listener
- interface to data sinkintMaskFire
- code specifying when the monitor is fired or'ed combination of {Monitor.VALUE, Monitor.LOG, Monitor.ALARM}ConnectionException
- channel is not connectedMonitorException
- general monitor failurepublic abstract Monitor addMonitorValStatus(IEventSinkValStatus listener, int intMaskFire) throws ConnectionException, MonitorException
listener
- interface to data sinkintMaskFire
- code specifying when the monitor is fired or'ed combination of {Monitor.VALUE, Monitor.LOG, Monitor.ALARM}ConnectionException
- channel is not connectedMonitorException
- general monitor failurepublic abstract Monitor addMonitorValue(IEventSinkValue listener, int intMaskFire) throws ConnectionException, MonitorException
listener
- interface to data sinkintMaskFire
- code specifying when the monitor is fired or'ed combination of {Monitor.VALUE, Monitor.LOG, Monitor.ALARM}ConnectionException
- channel is not connectedMonitorException
- general monitor failurepublic void putVal(java.lang.String newVal) throws ConnectionException, PutException
newVal
- value sent to process variableConnectionException
- channel is not connectedPutException
- channel access failure, includingpublic void putVal(byte newVal) throws ConnectionException, PutException
newVal
- value sent to process variableConnectionException
- channel is not connectedPutException
- channel access failure, includingpublic void putVal(short newVal) throws ConnectionException, PutException
newVal
- value sent to process variableConnectionException
- channel is not connectedPutException
- channel access failure, includingpublic void putVal(int newVal) throws ConnectionException, PutException
newVal
- value sent to process variableConnectionException
- channel is not connectedPutException
- channel access failure, includingpublic void putVal(float newVal) throws ConnectionException, PutException
newVal
- value sent to process variableConnectionException
- channel is not connectedPutException
- channel access failure, includingpublic void putVal(double newVal) throws ConnectionException, PutException
newVal
- value sent to process variableConnectionException
- channel is not connectedPutException
- channel access failure, includingpublic void putVal(byte[] newVal) throws ConnectionException, PutException
newVal
- value sent to process variableConnectionException
- channel is not connectedPutException
- channel access failure, includingpublic void putVal(short[] newVal) throws ConnectionException, PutException
newVal
- value sent to process variableConnectionException
- channel is not connectedPutException
- channel access failure, includingpublic void putVal(int[] newVal) throws ConnectionException, PutException
newVal
- value sent to process variableConnectionException
- channel is not connectedPutException
- channel access failure, includingpublic void putVal(float[] newVal) throws ConnectionException, PutException
newVal
- value sent to process variableConnectionException
- channel is not connectedPutException
- channel access failure, includingpublic void putVal(double[] newVal) throws ConnectionException, PutException
newVal
- value sent to process variableConnectionException
- channel is not connectedPutException
- channel access failure, includingpublic final void putValCallback(java.lang.String newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic final void putValCallback(byte newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic final void putValCallback(short newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic final void putValCallback(int newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic final void putValCallback(float newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic final void putValCallback(double newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic final void putValCallback(byte[] newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic final void putValCallback(short[] newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic final void putValCallback(int[] newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic final void putValCallback(float[] newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic final void putValCallback(double[] newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic abstract void putRawValCallback(java.lang.String newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic abstract void putRawValCallback(byte newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic abstract void putRawValCallback(short newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic abstract void putRawValCallback(int newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic abstract void putRawValCallback(float newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic abstract void putRawValCallback(double newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic abstract void putRawValCallback(byte[] newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic abstract void putRawValCallback(short[] newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic abstract void putRawValCallback(int[] newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic abstract void putRawValCallback(float[] newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failurepublic abstract void putRawValCallback(double[] newVal, PutListener listener) throws ConnectionException, PutException
newVal
- value sent to process variablelistener
- The receiver of the callback eventConnectionException
- channel is not connectedPutException
- general put failure