|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.aps.epics.jca.Ca
| Field Summary |
| Constructor Summary | |
Ca()
|
|
| Method Summary | |
static gov.aps.epics.jca.Context |
createContext()
Creates a new Context with a default name, preemptive callbacks disabled and an internal thread control mode. |
static gov.aps.epics.jca.Context |
createContext(int callback)
Creates a new Context with a default name, a specified callback mode and an internal thread control mode. |
static gov.aps.epics.jca.Context |
createContext(int callback,
int thread)
Creates a new Context with a default name, a specified callback mode and a specified thread control mode. |
static gov.aps.epics.jca.Context |
createContext(java.lang.String name)
Creates a new Context with a specified name, preemptive callbacks disabled and an internal thread control mode. |
static gov.aps.epics.jca.Context |
createContext(java.lang.String name,
int callback)
Creates a new Context with a specified name, a specified callback mode and an internal thread control mode. |
static gov.aps.epics.jca.Context |
createContext(java.lang.String name,
int callback,
int thread)
Creates a new Context with a specified name, a specified callback mode and a specified thread control mode. |
static int |
getCallbackMode(java.lang.String callback)
Returns the callback mode corresponding to the mode string. |
static java.lang.String |
getCallbackModeString(gov.aps.epics.jca.Context context)
Returns the String representing the Context's callback mode. |
static java.lang.String |
getCallbackModeString(int callback)
Returns the String representing the Context's callback mode. |
static java.lang.String |
getConnectionStateString(int cs_xxx)
Returns the String representing the CS_XXX code. |
static gov.aps.epics.jca.Context[] |
getContextList()
Returns the list of all contexts created . |
static java.lang.String |
getDBRTypeString(gov.aps.epics.jca.dbr.DBR dbr)
Returns the String representing the type of the DBR object. |
static java.lang.String |
getDBRTypeString(int type)
Returns the String representing the dbr type value. |
static java.lang.String |
getECACodeMessage(int eca_message)
Returns the String representing the ECA_XXX code. |
static int |
getECACodeNo(int eca_message)
Returns the message number of the ECA_XXX code. |
static int |
getECACodeSeverity(int eca_message)
Returns the severity value of the ECA_XXX code. |
static int |
getModification()
Returns the CA modification. |
static java.lang.String |
getOPString(int ca_op)
Returns the String representing the CA_OP code. |
static java.lang.String |
getReleaseString()
Returns the CA release String. |
static int |
getRevision()
Returns the CA revision. |
static int |
getThreadCtrlMode(java.lang.String thread)
Returns the thread mode corresponding to the mode string. |
static java.lang.String |
getThreadCtrlModeString(gov.aps.epics.jca.Context context)
Returns the String representing the Context's thread control mode. |
static java.lang.String |
getThreadCtrlModeString(int thread)
Returns the String representing the Context's thread control mode. |
static int |
getVersion()
Returns the CA version. |
static java.lang.String |
getVersionString()
Returns the CA version's String. |
static boolean |
isDBE_ALARM(int mask)
Determines wether the monitor mask includes the DBE_ALARM flag. |
static boolean |
isDBE_LOG(int mask)
Determines wether the monitor mask includes the DBE_LOG flag. |
static boolean |
isDBE_VALUE(int mask)
Determines wether the monitor mask includes the DBE_VALUE flag. |
static void |
printInfo(gov.aps.epics.jca.Channel ch)
Prints detailed information about the provided Channel to the standard output stream. |
static void |
printInfo(gov.aps.epics.jca.Channel ch,
java.io.PrintStream out)
Prints detailed information about the provided Channel to the specified output stream. |
static void |
printInfo(gov.aps.epics.jca.Context ctx)
Prints detailed information about the provided Context to the standard output stream. |
static void |
printInfo(gov.aps.epics.jca.Context ctx,
java.io.PrintStream out)
Prints detailed information about the provided Context to the specified output stream. |
static void |
printInfo(gov.aps.epics.jca.dbr.DBR dbr)
Prints detailed information about the provided DBR object to the standard output stream. |
static void |
printInfo(gov.aps.epics.jca.dbr.DBR dbr,
java.io.PrintStream out)
Prints detailed information about the provided DBR object to the specified output stream. |
static void |
printValue(byte[] value)
Helper method to print an array of byte as a comma separated list to the standard output stream. |
static void |
printValue(byte[] value,
java.io.PrintStream out)
Helper method to print an array of byte as a comma separated list to the specified output stream. |
static void |
printValue(double[] value)
Helper method to print an array of double as a comma separated list to the standard output stream. |
static void |
printValue(double[] value,
java.io.PrintStream out)
Helper method to print an array of double as a comma separated list to the specified output stream. |
static void |
printValue(float[] value)
Helper method to print an array of float as a comma separated list to the standard output stream. |
static void |
printValue(float[] value,
java.io.PrintStream out)
Helper method to print an array of float as a comma separated list to the specified output stream. |
static void |
printValue(int[] value)
Helper method to print an array of int as a comma separated list to the standard output stream. |
static void |
printValue(int[] value,
java.io.PrintStream out)
Helper method to print an array of int as a comma separated list to the specified output stream. |
static void |
printValue(long[] value)
Helper method to print an array of long as a comma separated list to the standard output stream. |
static void |
printValue(long[] value,
java.io.PrintStream out)
Helper method to print an array of long as a comma separated list to the specified output stream. |
static void |
printValue(short[] value)
Helper method to print an array of short as a comma separated list to the standard output stream. |
static void |
printValue(short[] value,
java.io.PrintStream out)
Helper method to print an array of short as a comma separated list to the specified output stream. |
static void |
printValue(java.lang.String[] value)
Helper method to print an array of String as a comma separated list to the standard output stream. |
static void |
printValue(java.lang.String[] value,
java.io.PrintStream out)
Helper method to print an array of String as a comma separated list to the specified output stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Ca()
| Method Detail |
public static int getVersion()
public static int getRevision()
public static int getModification()
public static java.lang.String getVersionString()
public static java.lang.String getReleaseString()
public static gov.aps.epics.jca.Context createContext()
throws CaException
CaException
public static gov.aps.epics.jca.Context createContext(java.lang.String name)
throws CaException
name - the Context name.
CaException
public static gov.aps.epics.jca.Context createContext(int callback)
throws CaException
callback - the callback mode: DISABLE_PREEMPTIVE_CALLBACK or ENABLE_PREEMPTIVE_CALLBACK.
CaException
public static gov.aps.epics.jca.Context createContext(java.lang.String name,
int callback)
throws CaException
name - the Context name.callback - the callback mode: DISABLE_PREEMPTIVE_CALLBACK or ENABLE_PREEMPTIVE_CALLBACK.
CaException
public static gov.aps.epics.jca.Context createContext(int callback,
int thread)
throws CaException
thread - the thread control mode: THREAD_CTRL_EXTERNAL or THREAD_CTRL_INTERNAL.
CaException
public static gov.aps.epics.jca.Context createContext(java.lang.String name,
int callback,
int thread)
throws CaException
name - the Context name.callback - the callback mode: DISABLE_PREEMPTIVE_CALLBACK or ENABLE_PREEMPTIVE_CALLBACK.thread - the thread control mode: THREAD_CTRL_EXTERNAL or THREAD_CTRL_INTERNAL.
CaExceptionpublic static gov.aps.epics.jca.Context[] getContextList()
public static java.lang.String getCallbackModeString(gov.aps.epics.jca.Context context)
context - the context.
Contextpublic static int getCallbackMode(java.lang.String callback)
callback - the callback mode name.
Contextpublic static java.lang.String getCallbackModeString(int callback)
callback - the callback mode.
Contextpublic static java.lang.String getThreadCtrlModeString(gov.aps.epics.jca.Context context)
context - the context.
Contextpublic static int getThreadCtrlMode(java.lang.String thread)
thread - the thread mode name.
Contextpublic static java.lang.String getThreadCtrlModeString(int thread)
thread - the thread control mode.
Contextpublic static void printInfo(gov.aps.epics.jca.Context ctx)
ctx - the context.
public static void printInfo(gov.aps.epics.jca.Context ctx,
java.io.PrintStream out)
ctx - the context.out - the output stream.public static void printInfo(gov.aps.epics.jca.dbr.DBR dbr)
dbr - the context.
public static void printInfo(gov.aps.epics.jca.dbr.DBR dbr,
java.io.PrintStream out)
dbr - the context.out - the output stream.public static void printInfo(gov.aps.epics.jca.Channel ch)
public static void printInfo(gov.aps.epics.jca.Channel ch,
java.io.PrintStream out)
out - the output stream.public static java.lang.String getOPString(int ca_op)
ca_op - the CA_OP_XXX code.
ContextExceptionEventpublic static java.lang.String getConnectionStateString(int cs_xxx)
cs_xxx - the CS_XXX code.
Channel.getState()public static int getECACodeSeverity(int eca_message)
eca_message - the ECA_XXX code.
CaConstantspublic static int getECACodeNo(int eca_message)
eca_message - the ECA_XXX code.
CaConstantspublic static java.lang.String getECACodeMessage(int eca_message)
eca_message - the ECA_XXX code.
CaConstantspublic static boolean isDBE_VALUE(int mask)
mask - the mask value.
CaConstantspublic static boolean isDBE_LOG(int mask)
mask - the mask value.
CaConstantspublic static boolean isDBE_ALARM(int mask)
mask - the mask value.
CaConstantspublic static java.lang.String getDBRTypeString(gov.aps.epics.jca.dbr.DBR dbr)
dbr - the DBR object.
CaConstantspublic static java.lang.String getDBRTypeString(int type)
CaConstantspublic static void printValue(byte[] value)
value - the array to print.
public static void printValue(byte[] value,
java.io.PrintStream out)
value - the array to print.out - the output stream.public static void printValue(short[] value)
value - the array to print.
public static void printValue(short[] value,
java.io.PrintStream out)
value - the array to print.out - the output stream.public static void printValue(int[] value)
value - the array to print.
public static void printValue(int[] value,
java.io.PrintStream out)
value - the array to print.out - the output stream.public static void printValue(long[] value)
value - the array to print.
public static void printValue(long[] value,
java.io.PrintStream out)
value - the array to print.out - the output stream.public static void printValue(float[] value)
value - the array to print.
public static void printValue(float[] value,
java.io.PrintStream out)
value - the array to print.out - the output stream.public static void printValue(double[] value)
value - the array to print.
public static void printValue(double[] value,
java.io.PrintStream out)
value - the array to print.out - the output stream.public static void printValue(java.lang.String[] value)
value - the array to print.
public static void printValue(java.lang.String[] value,
java.io.PrintStream out)
value - the array to print.out - the output stream.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||