|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--jca.Ca
The Java Channel Access class.
PV,
Monitor| Field Summary | |
protected static java.util.Vector |
_queue
Deprecated. |
protected static gov.aps.epics.jca.Context |
_theContext
Deprecated. |
static int |
OP_ADD_EVENT
Deprecated. |
static int |
OP_CLEAR_EVENT
Deprecated. |
static int |
OP_CONN_DOWN
Deprecated. |
static int |
OP_CONN_UP
Deprecated. |
static int |
OP_GET
Deprecated. |
static int |
OP_OTHER
Deprecated. |
static int |
OP_PUT
Deprecated. |
static int |
OP_SEARCH
Deprecated. |
| Constructor Summary | |
Ca()
Deprecated. |
|
| Method Summary | |
protected static void |
clearQueue()
Deprecated. |
static void |
exit()
Deprecated. Frees all CA resources and exits the Channel Access thread |
protected void |
finalize()
Deprecated. |
static void |
flushIO()
Deprecated. Sends all buffered IO requests. |
protected static void |
get(jca.PV pv,
jca.dbr.DBR ivalue)
Deprecated. |
protected static gov.aps.epics.jca.Context |
getContext()
Deprecated. |
static void |
init()
Deprecated. Initializes the Channel Access threads. |
static void |
init(int requestPriority,
int eventPriority)
Deprecated. |
static void |
pendEvent(double period)
Deprecated. Flushes the send buffer and waits for asynchronous event. |
static void |
pendIO(double timeout)
Deprecated. Flushes the send buffer and waits until outstanding queries complete. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int OP_GET
public static final int OP_PUT
public static final int OP_SEARCH
public static final int OP_ADD_EVENT
public static final int OP_CLEAR_EVENT
public static final int OP_OTHER
public static final int OP_CONN_UP
public static final int OP_CONN_DOWN
protected static gov.aps.epics.jca.Context _theContext
protected static java.util.Vector _queue
| Constructor Detail |
public Ca()
| Method Detail |
public static void init()
public static void init(int requestPriority,
int eventPriority)
public static void exit()
public static void flushIO()
pendEvent(double),
pendIO(double)
public static void pendIO(double timeout)
throws TimeOutException
Comments: Any values written into your program's variables by a CA synchronous request should not be referenced by your program until Ca.pendIO() has been called.
timeout - time in seconds to wait before the function times out. A timeout
of zero means wait forever.
TimeOutException - The timeout has expire and all outstanding queries
were not completed.public static void pendEvent(double period)
Comments: A very short timeout such as 0.0001 seconds will result in a poll (i.e. channel access will just check for file descriptor activity and then return).
period - time in seconds to wait before the function returns. A period
of zero means wait forever.protected static void clearQueue()
protected static void get(jca.PV pv,
jca.dbr.DBR ivalue)
throws BadTypeException,
BadCountException,
GetFailException
BadTypeException
BadCountException
GetFailExceptionprotected static gov.aps.epics.jca.Context getContext()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||