| Package | Description |
|---|---|
| com.cosylab.epics.caj | |
| com.cosylab.epics.caj.cas | |
| com.cosylab.epics.caj.cas.util | |
| com.cosylab.epics.caj.cas.util.examples | |
| gov.aps.jca | |
| gov.aps.jca.cas |
| Modifier and Type | Method and Description |
|---|---|
void |
CAJChannel.addAccessRightsListener(AccessRightsListener l) |
void |
CAJChannel.addConnectionListener(ConnectionListener l) |
void |
CAJChannel.addConnectionListenerAndFireIfConnected(ConnectionListener l) |
void |
CAJContext.addContextExceptionListener(ContextExceptionListener l) |
void |
CAJContext.addContextMessageListener(ContextMessageListener l) |
Monitor |
CAJChannel.addMonitor(DBRType type,
int count,
int mask,
MonitorListener l) |
void |
CAJContext.attachCurrentThread() |
protected void |
CAJContext.checkState()
Check context state and tries to establish necessary state.
|
void |
CAJMonitor.clear() |
Channel |
CAJContext.createChannel(String name,
ConnectionListener l,
short priority) |
void |
CAJContext.destroy() |
void |
CAJChannel.destroy() |
void |
CAJChannel.destroy(boolean force) |
void |
CAJChannel.destroyChannel(boolean force)
Actual destory method, to be called
CAJContext. |
void |
CAJContext.destroyChannel(CAJChannel channel,
boolean force)
Destroy channel.
|
void |
CAJContext.flushIO() |
DBR |
CAJChannel.get(DBR preallocatedDBR,
DBRType type,
int count) |
DBR |
CAJChannel.get(DBRType type,
int count) |
void |
CAJChannel.get(DBRType type,
int count,
GetListener l) |
void |
CAJContext.initialize() |
void |
CAJContext.pendEvent(double timeout) |
void |
CAJContext.pendIO(double timeout) |
void |
CAJContext.poll() |
void |
CAJChannel.put(byte[] value) |
void |
CAJChannel.put(byte[] value,
PutListener l) |
void |
CAJChannel.put(DBRType type,
int count,
Object value)
Put value.
|
void |
CAJChannel.put(DBRType type,
int count,
Object value,
PutListener l)
Put value.
|
void |
CAJChannel.put(double[] value) |
void |
CAJChannel.put(double[] value,
PutListener l) |
void |
CAJChannel.put(float[] value) |
void |
CAJChannel.put(float[] value,
PutListener l) |
void |
CAJChannel.put(int[] value) |
void |
CAJChannel.put(int[] value,
PutListener l) |
void |
CAJChannel.put(short[] value) |
void |
CAJChannel.put(short[] value,
PutListener l) |
void |
CAJChannel.put(String[] value) |
void |
CAJChannel.put(String[] value,
PutListener l) |
void |
CAJChannel.putACKS(Severity severity) |
void |
CAJChannel.putACKS(Severity severity,
PutListener l) |
void |
CAJChannel.putACKT(boolean value) |
void |
CAJChannel.putACKT(boolean value,
PutListener l) |
void |
CAJChannel.removeAccessRightsListener(AccessRightsListener l) |
void |
CAJChannel.removeConnectionListener(ConnectionListener l) |
void |
CAJContext.removeContextExceptionListener(ContextExceptionListener l) |
void |
CAJContext.removeContextMessageListener(ContextMessageListener l) |
static void |
JNIRepeater.repeaterInit() |
boolean |
CAJContext.testIO() |
| Constructor and Description |
|---|
CAJChannel(CAJContext context,
int channelID,
String name,
ConnectionListener listener,
short priority)
Constructor.
|
CAJMonitor(CAJContext context,
DBRType type,
int count,
CAJChannel channel,
MonitorListener listener,
int mask)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CAJServerContext.addContextExceptionListener(ContextExceptionListener l) |
void |
CAJServerContext.addContextMessageListener(ContextMessageListener l) |
protected void |
CAJServerContext.checkState()
Check context state and tries to establish necessary state.
|
void |
CAJServerContext.destroy() |
void |
CAJServerContext.initialize(Server server)
Set server and initialize.
|
void |
CAJServerContext.removeContextExceptionListener(ContextExceptionListener l) |
void |
CAJServerContext.removeContextMessageListener(ContextMessageListener l) |
void |
CAJServerContext.run(int seconds)
Run server (process events).
|
void |
CAJServerContext.shutdown() |
| Constructor and Description |
|---|
CASAcceptor(CAContext context,
int port) |
| Modifier and Type | Method and Description |
|---|---|
ProcessVariableExistanceCompletion |
DefaultServerImpl.processVariableExistanceTest(String aliasName,
InetSocketAddress clientAddress,
ProcessVariableExistanceCallback asyncCompletionCallback) |
CAStatus |
StringProcessVariable.read(DBR value,
ProcessVariableReadCallback asyncReadCallback)
Casts
DBR to DBR_TIME_String and
delegates operation of reading a value to readValue method. |
CAStatus |
NumericProcessVariable.read(DBR value,
ProcessVariableReadCallback asyncReadCallback) |
CAStatus |
MemoryProcessVariable.read(DBR value,
ProcessVariableReadCallback asyncReadCallback)
Read value.
|
CAStatus |
EnumProcessVariable.read(DBR value,
ProcessVariableReadCallback asyncReadCallback)
Casts
DBR to DBR_TIME_LABELS_Enum, sets labels
returned by getEnumLabels() and delegates operation of
reading a value to readValue method. |
protected abstract CAStatus |
EnumProcessVariable.readValue(DBR_TIME_LABELS_Enum value,
ProcessVariableReadCallback asyncReadCallback)
Read value.
|
protected abstract CAStatus |
StringProcessVariable.readValue(DBR_TIME_String value,
ProcessVariableReadCallback asyncReadCallback)
Read value.
|
protected abstract CAStatus |
NumericProcessVariable.readValue(DBR value,
ProcessVariableReadCallback asyncReadCallback)
Read value.
|
CAStatus |
StringProcessVariable.write(DBR value,
ProcessVariableWriteCallback asyncWriteCallback)
Casts
DBR to DBR_String and delegates operation of writing a value to writeValue method. |
CAStatus |
NumericProcessVariable.write(DBR value,
ProcessVariableWriteCallback asyncWriteCallback) |
CAStatus |
MemoryProcessVariable.write(DBR value,
ProcessVariableWriteCallback asyncWriteCallback)
Write value.
|
CAStatus |
EnumProcessVariable.write(DBR value,
ProcessVariableWriteCallback asyncWriteCallback)
Casts
DBR to DBR_Enum and delegates operation
of writing a value to writeValue method. |
protected abstract CAStatus |
EnumProcessVariable.writeValue(DBR_Enum value,
ProcessVariableWriteCallback asyncWriteCallback)
Write value.
|
protected abstract CAStatus |
StringProcessVariable.writeValue(DBR_String value,
ProcessVariableWriteCallback asyncWriteCallback)
Write value.
|
protected abstract CAStatus |
NumericProcessVariable.writeValue(DBR value,
ProcessVariableWriteCallback asyncWriteCallback)
Write value.
|
| Modifier and Type | Method and Description |
|---|---|
protected CAStatus |
CounterProcessVariable.readValue(DBR value,
ProcessVariableReadCallback asyncReadCallback)
Read value.
|
protected CAStatus |
CounterProcessVariable.writeValue(DBR value,
ProcessVariableWriteCallback asyncWriteCallback)
Write value.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CAStatusException
CA status exception.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Channel.addAccessRightsListener(AccessRightsListener l)
Adds a AccessRightsListener which will be notified of the access rights's changes of this Channel.
|
abstract void |
Channel.addConnectionListener(ConnectionListener l)
Adds a ConnectionListener which will be notified of the connection state's changes of this Channel.
|
abstract void |
Context.addContextExceptionListener(ContextExceptionListener l)
Add a ContextExceptionListener to this context.
|
abstract void |
Context.addContextMessageListener(ContextMessageListener l)
Add a ContextMessageListener to this context.
|
Monitor |
Channel.addMonitor(DBRType type,
int count,
int mask)
Add a monitor to this channel.
|
abstract Monitor |
Channel.addMonitor(DBRType type,
int count,
int mask,
MonitorListener l)
Adds a monitor to this Channel.
|
Monitor |
Channel.addMonitor(int mask)
Add a monitor to this channel using the channel's native DBR type and count.
|
Monitor |
Channel.addMonitor(int mask,
MonitorListener l)
Add a monitor to this channel using the channel's native DBR type and count.
|
abstract void |
Context.attachCurrentThread()
Attach the calling thread to the list of threads allowed to access this context and all its channels.
|
abstract void |
Monitor.clear() |
Channel |
Context.createChannel(String name)
Create a new Channel using this context to access a process variable.
|
Channel |
Context.createChannel(String name,
ConnectionListener l)
Create a new Channel using this context to access a process variable with a ConnectionListener
to receive ConnectionEvent from the newly created Channel.
|
abstract Channel |
Context.createChannel(String name,
ConnectionListener l,
short priority)
Create a new Channel using this context to access a process variable with a ConnectionListener
to receive ConnectionEvent from the newly created Channel.
|
Channel |
Context.createChannel(String name,
short priority)
Create a new Channel using this context to access a process variable.
|
Context |
JCALibrary.createContext(Configuration configuration)
Create a new context instance using a Configuration object.
|
Context |
JCALibrary.createContext(String fqn)
Create a new context instance using a fully qualified class name and using the Context's default configuration.
|
ServerContext |
JCALibrary.createServerContext(Configuration configuration,
Server server)
Create a new server context instance using a Configuration object.
|
ServerContext |
JCALibrary.createServerContext(String fqn,
Server server)
Create a new context instance using a fully qualified class name and using the ServerContext's default configuration.
|
abstract void |
Context.destroy()
Clear all ressources attached to this Context
|
abstract void |
Channel.destroy()
Clear the ressources used by this channel.
|
abstract void |
Context.flushIO()
Flush outstanding IO request to the servers.
|
DBR |
Channel.get()
Synchronously reads this Channel's value using the native DBR type and count.
|
abstract DBR |
Channel.get(DBRType type,
int count)
Synchronously Reads a specified number of elements of a specified type from this Channel.
|
abstract void |
Channel.get(DBRType type,
int count,
GetListener l)
Asynchronously reads a specified number of elements of a specified type from this Channel
|
void |
Channel.get(GetListener l)
Asynchronously reads this Channel's value using the native DBR type and count.
|
DBR |
Channel.get(int count)
Synchronously Reads a specified number elements from this Channel value using the native DBR type.
|
void |
Channel.get(int count,
GetListener l)
Asynchronously Reads a specified number from this Channel's value using the native DBR type.
|
void |
Context.initialize() |
abstract void |
Context.pendEvent(double time)
Process all pending events.
|
abstract void |
Context.pendIO(double timeout)
Process all pending IO operations.
|
abstract void |
Context.poll()
Flush the send buffer and process any outstanding CA background activity.
|
void |
Channel.put(byte value)
Synchronously writes a value to this Channel.
|
abstract void |
Channel.put(byte[] value)
Synchronously writes an array to this Channel.
|
abstract void |
Channel.put(byte[] value,
PutListener l)
Asynchronously writes an array to this Channel.
|
void |
Channel.put(byte value,
PutListener l)
Asynchronously writes a value to this Channel.
|
void |
Channel.put(double value)
Synchronously writes a value to this Channel.
|
abstract void |
Channel.put(double[] value)
Synchronously writes an array to this Channel.
|
abstract void |
Channel.put(double[] value,
PutListener l)
Asynchronously writes an array to this Channel.
|
void |
Channel.put(double value,
PutListener l)
Asynchronously writes a value to this Channel.
|
void |
Channel.put(float value)
Synchronously writes a value to this Channel.
|
abstract void |
Channel.put(float[] value)
Synchronously writes an array to this Channel.
|
abstract void |
Channel.put(float[] value,
PutListener l)
Asynchronously writes an array to this Channel.
|
void |
Channel.put(float value,
PutListener l)
Asynchronously writes a value to this Channel.
|
void |
Channel.put(int value)
Synchronously writes a value to this Channel.
|
abstract void |
Channel.put(int[] value)
Synchronously writes an array to this Channel.
|
abstract void |
Channel.put(int[] value,
PutListener l)
Asynchronously writes an array to this Channel.
|
void |
Channel.put(int value,
PutListener l)
Asynchronously writes a value to this Channel.
|
void |
Channel.put(short value)
Synchronously writes a value to this Channel.
|
abstract void |
Channel.put(short[] value)
Synchronously writes an array to this Channel.
|
abstract void |
Channel.put(short[] value,
PutListener l)
Asynchronously writes an array to this Channel.
|
void |
Channel.put(short value,
PutListener l)
Asynchronously writes a value to this Channel.
|
void |
Channel.put(String value)
Synchronously writes a value to this Channel.
|
abstract void |
Channel.put(String[] value)
Synchronously writes an array to this Channel.
|
abstract void |
Channel.put(String[] value,
PutListener l)
Asynchronously writes an array to this Channel.
|
void |
Channel.put(String value,
PutListener l)
Asynchronously writes a value to this Channel.
|
abstract void |
Channel.putACKS(Severity severity)
Synchronously writes an Alarm Acknowledge Severity value to this Channel.
|
abstract void |
Channel.putACKS(Severity severity,
PutListener l)
Asynchronously writes an Alarm Acknowledge Severity value to this Channel.
|
abstract void |
Channel.putACKT(boolean value)
Synchronously writes an Alarm Acknowledge Transient value to this Channel.
|
abstract void |
Channel.putACKT(boolean value,
PutListener l)
Asynchronously writes an Alarm Acknowledge Transient value to this Channel.
|
abstract void |
Channel.removeAccessRightsListener(AccessRightsListener l)
Removes a AccessRightsListener which will be notified of the access rights's changes of this Channel.
|
abstract void |
Channel.removeConnectionListener(ConnectionListener l)
Removes a ConnectionListener .
|
abstract void |
Context.removeContextExceptionListener(ContextExceptionListener l)
Removes a ContextExceptionListener from this context.
|
abstract void |
Context.removeContextMessageListener(ContextMessageListener l)
Removes a ContextMessageListener from this context.
|
abstract boolean |
Context.testIO()
Tests if all synchronous (ie not specifying listeners) get and channel creation requests are completed.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ServerContext.addContextExceptionListener(ContextExceptionListener l)
Add a ContextExceptionListener to this context.
|
abstract void |
ServerContext.addContextMessageListener(ContextMessageListener l)
Add a ContextMessageListener to this context.
|
ServerChannel |
ProcessVariable.createChannel(int cid,
int sid,
String userName,
String hostName)
This method is called each time that a PV is attached to by a client.
|
abstract void |
ServerContext.destroy()
Clear all resources attached to this Context
|
abstract void |
ServerContext.initialize(Server server)
Set
Server implemenation and initialzie server. |
ProcessVariableExistanceCompletion |
Server.processVariableExistanceTest(String aliasName,
InetSocketAddress clientAddress,
ProcessVariableExistanceCallback asyncCompletionCallback)
This function is called by the server library when it needs to
determine if a named process variable (PV) exists (or could be created) in the
server tool.
|
CAStatus |
ServerChannel.read(DBR value,
ProcessVariableReadCallback asyncReadCallback)
Read process variable value.
|
abstract CAStatus |
ProcessVariable.read(DBR value,
ProcessVariableReadCallback asyncReadCallback)
Read process variable value.
|
abstract void |
ServerContext.removeContextExceptionListener(ContextExceptionListener l)
Removes a ContextExceptionListener from this context.
|
abstract void |
ServerContext.removeContextMessageListener(ContextMessageListener l)
Removes a ContextMessageListener from this context.
|
abstract void |
ServerContext.run(int seconds)
Run server (process events).
|
abstract void |
ServerContext.shutdown()
Shutdown (stop executing run() method) of this Context.
|
CAStatus |
ServerChannel.write(DBR value,
ProcessVariableWriteCallback asyncWriteCallback)
Write process variable value.
|
abstract CAStatus |
ProcessVariable.write(DBR value,
ProcessVariableWriteCallback asyncWriteCallback)
Write process variable value.
|
Copyright © 2004-2020 EPICS. All Rights Reserved.