Uses of Class
gov.aps.jca.CAException
-
Packages that use CAException 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 -
-
Uses of CAException in com.cosylab.epics.caj
Methods in com.cosylab.epics.caj that throw CAException Modifier and Type Method Description voidCAJChannel. addAccessRightsListener(AccessRightsListener l)voidCAJChannel. addConnectionListener(ConnectionListener l)voidCAJChannel. addConnectionListenerAndFireIfConnected(ConnectionListener l)voidCAJContext. addContextExceptionListener(ContextExceptionListener l)voidCAJContext. addContextMessageListener(ContextMessageListener l)MonitorCAJChannel. addMonitor(DBRType type, int count, int mask, MonitorListener l)voidCAJContext. attachCurrentThread()protected voidCAJContext. checkState()Check context state and tries to establish necessary state.voidCAJMonitor. clear()ChannelCAJContext. createChannel(String name, ConnectionListener l, short priority)voidCAJChannel. destroy()voidCAJChannel. destroy(boolean force)voidCAJContext. destroy()voidCAJChannel. destroyChannel(boolean force)Actual destory method, to be calledCAJContext.voidCAJContext. destroyChannel(CAJChannel channel, boolean force)Destroy channel.voidCAJContext. flushIO()DBRCAJChannel. get(DBR preallocatedDBR, DBRType type, int count)DBRCAJChannel. get(DBRType type, int count)voidCAJChannel. get(DBRType type, int count, GetListener l)voidCAJContext. initialize()voidCAJContext. pendEvent(double timeout)voidCAJContext. pendIO(double timeout)voidCAJContext. poll()voidCAJChannel. put(byte[] value)voidCAJChannel. put(byte[] value, PutListener l)voidCAJChannel. put(double[] value)voidCAJChannel. put(double[] value, PutListener l)voidCAJChannel. put(float[] value)voidCAJChannel. put(float[] value, PutListener l)voidCAJChannel. put(int[] value)voidCAJChannel. put(int[] value, PutListener l)voidCAJChannel. put(short[] value)voidCAJChannel. put(short[] value, PutListener l)voidCAJChannel. put(DBRType type, int count, Object value)Put value.voidCAJChannel. put(DBRType type, int count, Object value, PutListener l)Put value.voidCAJChannel. put(String[] value)voidCAJChannel. put(String[] value, PutListener l)voidCAJChannel. putACKS(Severity severity)voidCAJChannel. putACKS(Severity severity, PutListener l)voidCAJChannel. putACKT(boolean value)voidCAJChannel. putACKT(boolean value, PutListener l)voidCAJChannel. removeAccessRightsListener(AccessRightsListener l)voidCAJChannel. removeConnectionListener(ConnectionListener l)voidCAJContext. removeContextExceptionListener(ContextExceptionListener l)voidCAJContext. removeContextMessageListener(ContextMessageListener l)static voidJNIRepeater. repeaterInit()booleanCAJContext. testIO()Constructors in com.cosylab.epics.caj that throw CAException Constructor 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. -
Uses of CAException in com.cosylab.epics.caj.cas
Methods in com.cosylab.epics.caj.cas that throw CAException Modifier and Type Method Description voidCAJServerContext. addContextExceptionListener(ContextExceptionListener l)voidCAJServerContext. addContextMessageListener(ContextMessageListener l)protected voidCAJServerContext. checkState()Check context state and tries to establish necessary state.voidCAJServerContext. destroy()voidCAJServerContext. initialize(Server server)Set server and initialize.voidCAJServerContext. removeContextExceptionListener(ContextExceptionListener l)voidCAJServerContext. removeContextMessageListener(ContextMessageListener l)voidCAJServerContext. run(int seconds)Run server (process events).voidCAJServerContext. shutdown()Constructors in com.cosylab.epics.caj.cas that throw CAException Constructor Description CASAcceptor(CAContext context, int port) -
Uses of CAException in com.cosylab.epics.caj.cas.util
Methods in com.cosylab.epics.caj.cas.util that throw CAException Modifier and Type Method Description ProcessVariableExistanceCompletionDefaultServerImpl. processVariableExistanceTest(String aliasName, InetSocketAddress clientAddress, ProcessVariableExistanceCallback asyncCompletionCallback)CAStatusEnumProcessVariable. read(DBR value, ProcessVariableReadCallback asyncReadCallback)CastsDBRtoDBR_TIME_LABELS_Enum, sets labels returned bygetEnumLabels()and delegates operation of reading a value toreadValuemethod.CAStatusMemoryProcessVariable. read(DBR value, ProcessVariableReadCallback asyncReadCallback)Read value.CAStatusNumericProcessVariable. read(DBR value, ProcessVariableReadCallback asyncReadCallback)CAStatusStringProcessVariable. read(DBR value, ProcessVariableReadCallback asyncReadCallback)CastsDBRtoDBR_TIME_Stringand delegates operation of reading a value toreadValuemethod.protected abstract CAStatusEnumProcessVariable. readValue(DBR_TIME_LABELS_Enum value, ProcessVariableReadCallback asyncReadCallback)Read value.protected abstract CAStatusNumericProcessVariable. readValue(DBR value, ProcessVariableReadCallback asyncReadCallback)Read value.protected abstract CAStatusStringProcessVariable. readValue(DBR_TIME_String value, ProcessVariableReadCallback asyncReadCallback)Read value.CAStatusEnumProcessVariable. write(DBR value, ProcessVariableWriteCallback asyncWriteCallback)CastsDBRtoDBR_Enumand delegates operation of writing a value towriteValuemethod.CAStatusMemoryProcessVariable. write(DBR value, ProcessVariableWriteCallback asyncWriteCallback)Write value.CAStatusNumericProcessVariable. write(DBR value, ProcessVariableWriteCallback asyncWriteCallback)CAStatusStringProcessVariable. write(DBR value, ProcessVariableWriteCallback asyncWriteCallback)CastsDBRtoDBR_Stringand delegates operation of writing a value towriteValuemethod.protected abstract CAStatusEnumProcessVariable. writeValue(DBR_Enum value, ProcessVariableWriteCallback asyncWriteCallback)Write value.protected abstract CAStatusNumericProcessVariable. writeValue(DBR value, ProcessVariableWriteCallback asyncWriteCallback)Write value.protected abstract CAStatusStringProcessVariable. writeValue(DBR_String value, ProcessVariableWriteCallback asyncWriteCallback)Write value. -
Uses of CAException in com.cosylab.epics.caj.cas.util.examples
Methods in com.cosylab.epics.caj.cas.util.examples that throw CAException Modifier and Type Method Description protected CAStatusCounterProcessVariable. readValue(DBR value, ProcessVariableReadCallback asyncReadCallback)Read value.protected CAStatusCounterProcessVariable. writeValue(DBR value, ProcessVariableWriteCallback asyncWriteCallback)Write value. -
Uses of CAException in gov.aps.jca
Subclasses of CAException in gov.aps.jca Modifier and Type Class Description classCAStatusExceptionCA status exception.Methods in gov.aps.jca that throw CAException Modifier and Type Method Description abstract voidChannel. addAccessRightsListener(AccessRightsListener l)Adds a AccessRightsListener which will be notified of the access rights's changes of this Channel.abstract voidChannel. addConnectionListener(ConnectionListener l)Adds a ConnectionListener which will be notified of the connection state's changes of this Channel.abstract voidContext. addContextExceptionListener(ContextExceptionListener l)Add a ContextExceptionListener to this context.abstract voidContext. addContextMessageListener(ContextMessageListener l)Add a ContextMessageListener to this context.MonitorChannel. addMonitor(int mask)Add a monitor to this channel using the channel's native DBR type and count.MonitorChannel. addMonitor(int mask, MonitorListener l)Add a monitor to this channel using the channel's native DBR type and count.MonitorChannel. addMonitor(DBRType type, int count, int mask)Add a monitor to this channel.abstract MonitorChannel. addMonitor(DBRType type, int count, int mask, MonitorListener l)Adds a monitor to this Channel.abstract voidContext. attachCurrentThread()Attach the calling thread to the list of threads allowed to access this context and all its channels.abstract voidMonitor. clear()ChannelContext. createChannel(String name)Create a new Channel using this context to access a process variable.ChannelContext. createChannel(String name, short priority)Create a new Channel using this context to access a process variable.ChannelContext. 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 ChannelContext. 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.ContextJCALibrary. createContext(Configuration configuration)Create a new context instance using a Configuration object.ContextJCALibrary. createContext(String fqn)Create a new context instance using a fully qualified class name and using the Context's default configuration.ServerContextJCALibrary. createServerContext(Configuration configuration, Server server)Create a new server context instance using a Configuration object.ServerContextJCALibrary. createServerContext(String fqn, Server server)Create a new context instance using a fully qualified class name and using the ServerContext's default configuration.abstract voidChannel. destroy()Clear the ressources used by this channel.abstract voidContext. destroy()Clear all ressources attached to this Contextabstract voidContext. flushIO()Flush outstanding IO request to the servers.DBRChannel. get()Synchronously reads this Channel's value using the native DBR type and count.DBRChannel. get(int count)Synchronously Reads a specified number elements from this Channel value using the native DBR type.voidChannel. get(int count, GetListener l)Asynchronously Reads a specified number from this Channel's value using the native DBR type.abstract DBRChannel. get(DBRType type, int count)Synchronously Reads a specified number of elements of a specified type from this Channel.abstract voidChannel. get(DBRType type, int count, GetListener l)Asynchronously reads a specified number of elements of a specified type from this ChannelvoidChannel. get(GetListener l)Asynchronously reads this Channel's value using the native DBR type and count.voidContext. initialize()abstract voidContext. pendEvent(double time)Process all pending events.abstract voidContext. pendIO(double timeout)Process all pending IO operations.abstract voidContext. poll()Flush the send buffer and process any outstanding CA background activity.voidChannel. put(byte value)Synchronously writes a value to this Channel.abstract voidChannel. put(byte[] value)Synchronously writes an array to this Channel.abstract voidChannel. put(byte[] value, PutListener l)Asynchronously writes an array to this Channel.voidChannel. put(byte value, PutListener l)Asynchronously writes a value to this Channel.voidChannel. put(double value)Synchronously writes a value to this Channel.abstract voidChannel. put(double[] value)Synchronously writes an array to this Channel.abstract voidChannel. put(double[] value, PutListener l)Asynchronously writes an array to this Channel.voidChannel. put(double value, PutListener l)Asynchronously writes a value to this Channel.voidChannel. put(float value)Synchronously writes a value to this Channel.abstract voidChannel. put(float[] value)Synchronously writes an array to this Channel.abstract voidChannel. put(float[] value, PutListener l)Asynchronously writes an array to this Channel.voidChannel. put(float value, PutListener l)Asynchronously writes a value to this Channel.voidChannel. put(int value)Synchronously writes a value to this Channel.abstract voidChannel. put(int[] value)Synchronously writes an array to this Channel.abstract voidChannel. put(int[] value, PutListener l)Asynchronously writes an array to this Channel.voidChannel. put(int value, PutListener l)Asynchronously writes a value to this Channel.voidChannel. put(short value)Synchronously writes a value to this Channel.abstract voidChannel. put(short[] value)Synchronously writes an array to this Channel.abstract voidChannel. put(short[] value, PutListener l)Asynchronously writes an array to this Channel.voidChannel. put(short value, PutListener l)Asynchronously writes a value to this Channel.voidChannel. put(String value)Synchronously writes a value to this Channel.abstract voidChannel. put(String[] value)Synchronously writes an array to this Channel.abstract voidChannel. put(String[] value, PutListener l)Asynchronously writes an array to this Channel.voidChannel. put(String value, PutListener l)Asynchronously writes a value to this Channel.abstract voidChannel. putACKS(Severity severity)Synchronously writes an Alarm Acknowledge Severity value to this Channel.abstract voidChannel. putACKS(Severity severity, PutListener l)Asynchronously writes an Alarm Acknowledge Severity value to this Channel.abstract voidChannel. putACKT(boolean value)Synchronously writes an Alarm Acknowledge Transient value to this Channel.abstract voidChannel. putACKT(boolean value, PutListener l)Asynchronously writes an Alarm Acknowledge Transient value to this Channel.abstract voidChannel. removeAccessRightsListener(AccessRightsListener l)Removes a AccessRightsListener which will be notified of the access rights's changes of this Channel.abstract voidChannel. removeConnectionListener(ConnectionListener l)Removes a ConnectionListener .abstract voidContext. removeContextExceptionListener(ContextExceptionListener l)Removes a ContextExceptionListener from this context.abstract voidContext. removeContextMessageListener(ContextMessageListener l)Removes a ContextMessageListener from this context.abstract booleanContext. testIO()Tests if all synchronous (ie not specifying listeners) get and channel creation requests are completed. -
Uses of CAException in gov.aps.jca.cas
Methods in gov.aps.jca.cas that throw CAException Modifier and Type Method Description abstract voidServerContext. addContextExceptionListener(ContextExceptionListener l)Add a ContextExceptionListener to this context.abstract voidServerContext. addContextMessageListener(ContextMessageListener l)Add a ContextMessageListener to this context.ServerChannelProcessVariable. 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 voidServerContext. destroy()Clear all resources attached to this Contextabstract voidServerContext. initialize(Server server)SetServerimplemenation and initialzie server.ProcessVariableExistanceCompletionServer. 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.abstract CAStatusProcessVariable. read(DBR value, ProcessVariableReadCallback asyncReadCallback)Read process variable value.CAStatusServerChannel. read(DBR value, ProcessVariableReadCallback asyncReadCallback)Read process variable value.abstract voidServerContext. removeContextExceptionListener(ContextExceptionListener l)Removes a ContextExceptionListener from this context.abstract voidServerContext. removeContextMessageListener(ContextMessageListener l)Removes a ContextMessageListener from this context.abstract voidServerContext. run(int seconds)Run server (process events).abstract voidServerContext. shutdown()Shutdown (stop executing run() method) of this Context.abstract CAStatusProcessVariable. write(DBR value, ProcessVariableWriteCallback asyncWriteCallback)Write process variable value.CAStatusServerChannel. write(DBR value, ProcessVariableWriteCallback asyncWriteCallback)Write process variable value.
-