Package gov.aps.jca
Class CAStatus
- java.lang.Object
-
- gov.aps.jca.Enum
-
- gov.aps.jca.ValuedEnum
-
- gov.aps.jca.CAStatus
-
public class CAStatus extends ValuedEnum
Enumeration class representing Channel Access Status codes.- Author:
- Eric Boucher
-
-
Field Summary
Fields Modifier and Type Field Description static CAStatusADDFAILCould not perform a database monitor add for that channel.static CAStatusALLOCMEMUnable to allocate additional dynamic memory.static CAStatusANACHRONISMThis anachhronistic feature of CA is no longer supported.static CAStatusARRAY16KCLIENTClient's protocol revision does not support transfers exceeding 16k bytesstatic CAStatusBADCHIDInvalid channel identifier.static CAStatusBADCOUNTCount requested inappropriate for that channel.static CAStatusBADFUNCPTRInvalid callback method.static CAStatusBADMASKThe monitor selection mask supplied is empty or inappropriate.static CAStatusBADMONIDBad monitor subscription identifier.static CAStatusBADPRIORITYPriority out of range.static CAStatusBADSTRThe supplied string has improper format.static CAStatusBADSYNCGRPInvalid synchronous group identifier.static CAStatusBADTYPEThe data type specified is invalid.static CAStatusBUILDGETDatabase value get for that channel failed during channel search.static intCA_M_ERRORstatic intCA_M_LEVELstatic intCA_M_MSG_NOstatic intCA_M_SEVEREstatic intCA_M_SEVERITYstatic intCA_M_SUCCESSstatic intCA_S_MSG_NOstatic intCA_S_SEVERITYstatic intCA_V_MSG_NOstatic intCA_V_SEVERITYstatic intCA_V_SUCCESSstatic CAStatusCHANDESTROYUser destroyed channel.static CAStatusCHIDNOTFNDRemote channel not found.static CAStatusCHIDRETRYUnable to locate all user specified channels.static CAStatusCONNUnable to connect to internet host or service.static CAStatusCONNSEQTMOVirtual circuit connection sequence abortedstatic CAStatusDBLCHNLidentical process variable name on pultiple servers.static CAStatusDBLCLFAILThe requested local DB operation failed.static CAStatusDEFUNCTAttempt to use a defunct CA feature failed.static CAStatusDISCONNVirtual circuit disconneted.static CAStatusDISCONNCHIDRequest ignored because the specified channel is disconnected.static CAStatusDLCKRESTReseting dead connection- will try to reconnect.static CAStatusEMPTYSTRThe supplied string is empty.static CAStatusEVDISALLOWThe CA method called is inappropriate for use within an event handler.static CAStatusGETFAILCould not perform a database value get for that channel.static CAStatusINTERNALChannel Access internal failure.static CAStatusIODONEIO operations have completed.static CAStatusIOINPROGESSIO operations are in progress.static CAStatusISATTACHEDThread is already attached to a client context.static CAStatusMAXIOCMaximum simultaneous IOC connections exceed.static CAStatusNEEDSFPUnable to initialize without the vxWorks VX_FP_TASK task option set.static CAStatusNEWADDRRemote channel has new network address.static CAStatusNEWCONNNew or resumed network connection.static CAStatusNOCACTXSpecified task isn't a member of a CA Context.static CAStatusNOCASTNo internet interface with broadcast available.static CAStatusNOCHANMSGNo channel id match for search reply- search reply ignored.static CAStatusNOCONVERTData conversion between client's type and the server's type failed.static CAStatusNORDACCESSRead access denied.static CAStatusNOREPEATERUnable to spawn the CA repeater thread- auto reconnect will fail.static CAStatusNORMALNormal successful completion.static CAStatusNOSEARCHADDRThe search/beacon request address list was empty after initialization.static CAStatusNOSUPPORTFeature planned but not supported at this time.static CAStatusNOTTHREADEDPreemptive callback not enabled - additional threads may not join.static CAStatusNOWTACCESSWrite access denied.static CAStatusOVEVFAILEvent queue overflow has prevented first pass event after event add.static CAStatusPUTCBINPROGPut callback timed out.static CAStatusPUTFAILCould not perform a database value put for that channel.static CAStatusSERVBEHINDServer (IOC) has fallen behind or is not responding- still waiting.static CAStatusSOCKUnable to allocate a new socket.static CAStatusSTRTOBIGSupplied string is unusually large.static CAStatusTIMEOUTUser specified timeout on IO operation expired.static CAStatusTOLARGEThe requested transfer is greater than available memory or MAX_ARRAY_BYTES.static CAStatusUKNCHANUnknown IO channel.static CAStatusUKNFIELDRecord field specified inappropriate for channel.static CAStatusUKNHOSTUnknown internet host.static CAStatusUKNSERVUnknown internet service.static CAStatusUNAVAILINSERVNo supprt in service.static CAStatusUNRESPTMOVirtual circuit connection unresponsive
-
Constructor Summary
Constructors Modifier Constructor Description protectedCAStatus(String name, int value, CASeverity severity, String msg)Creates a new instance of CAStatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CAStatusforName(String name)static CAStatusforStatusCode(int value)Get status instance from EPICS status code.static CAStatusforValue(int value)StringgetMessage()CASeveritygetSeverity()intgetStatusCode()Get EPICS status code.booleanisError()booleanisFatal()booleanisSuccessful()StringtoString()Override toString method to produce human readable description.-
Methods inherited from class gov.aps.jca.ValuedEnum
getValue, isEqualTo, isGreaterThan, isGreaterThanOrEqual, isLessThan, isLessThanOrEqual
-
-
-
-
Field Detail
-
NORMAL
public static final CAStatus NORMAL
Normal successful completion.
-
MAXIOC
public static final CAStatus MAXIOC
Maximum simultaneous IOC connections exceed.
-
UKNHOST
public static final CAStatus UKNHOST
Unknown internet host.
-
UKNSERV
public static final CAStatus UKNSERV
Unknown internet service.
-
SOCK
public static final CAStatus SOCK
Unable to allocate a new socket.
-
CONN
public static final CAStatus CONN
Unable to connect to internet host or service.
-
ALLOCMEM
public static final CAStatus ALLOCMEM
Unable to allocate additional dynamic memory.
-
UKNCHAN
public static final CAStatus UKNCHAN
Unknown IO channel.
-
UKNFIELD
public static final CAStatus UKNFIELD
Record field specified inappropriate for channel.
-
TOLARGE
public static final CAStatus TOLARGE
The requested transfer is greater than available memory or MAX_ARRAY_BYTES.
-
TIMEOUT
public static final CAStatus TIMEOUT
User specified timeout on IO operation expired.
-
NOSUPPORT
public static final CAStatus NOSUPPORT
Feature planned but not supported at this time.
-
STRTOBIG
public static final CAStatus STRTOBIG
Supplied string is unusually large.
-
DISCONNCHID
public static final CAStatus DISCONNCHID
Request ignored because the specified channel is disconnected.
-
BADTYPE
public static final CAStatus BADTYPE
The data type specified is invalid.
-
CHIDNOTFND
public static final CAStatus CHIDNOTFND
Remote channel not found.
-
CHIDRETRY
public static final CAStatus CHIDRETRY
Unable to locate all user specified channels.
-
INTERNAL
public static final CAStatus INTERNAL
Channel Access internal failure.
-
DBLCLFAIL
public static final CAStatus DBLCLFAIL
The requested local DB operation failed.
-
GETFAIL
public static final CAStatus GETFAIL
Could not perform a database value get for that channel.
-
PUTFAIL
public static final CAStatus PUTFAIL
Could not perform a database value put for that channel.
-
ADDFAIL
public static final CAStatus ADDFAIL
Could not perform a database monitor add for that channel.
-
BADCOUNT
public static final CAStatus BADCOUNT
Count requested inappropriate for that channel.
-
BADSTR
public static final CAStatus BADSTR
The supplied string has improper format.
-
DISCONN
public static final CAStatus DISCONN
Virtual circuit disconneted.
-
DBLCHNL
public static final CAStatus DBLCHNL
identical process variable name on pultiple servers.
-
EVDISALLOW
public static final CAStatus EVDISALLOW
The CA method called is inappropriate for use within an event handler.
-
BUILDGET
public static final CAStatus BUILDGET
Database value get for that channel failed during channel search.
-
NEEDSFP
public static final CAStatus NEEDSFP
Unable to initialize without the vxWorks VX_FP_TASK task option set.
-
OVEVFAIL
public static final CAStatus OVEVFAIL
Event queue overflow has prevented first pass event after event add.
-
BADMONID
public static final CAStatus BADMONID
Bad monitor subscription identifier.
-
NEWADDR
public static final CAStatus NEWADDR
Remote channel has new network address.
-
NEWCONN
public static final CAStatus NEWCONN
New or resumed network connection.
-
NOCACTX
public static final CAStatus NOCACTX
Specified task isn't a member of a CA Context.
-
DEFUNCT
public static final CAStatus DEFUNCT
Attempt to use a defunct CA feature failed.
-
EMPTYSTR
public static final CAStatus EMPTYSTR
The supplied string is empty.
-
NOREPEATER
public static final CAStatus NOREPEATER
Unable to spawn the CA repeater thread- auto reconnect will fail.
-
NOCHANMSG
public static final CAStatus NOCHANMSG
No channel id match for search reply- search reply ignored.
-
DLCKREST
public static final CAStatus DLCKREST
Reseting dead connection- will try to reconnect.
-
SERVBEHIND
public static final CAStatus SERVBEHIND
Server (IOC) has fallen behind or is not responding- still waiting.
-
NOCAST
public static final CAStatus NOCAST
No internet interface with broadcast available.
-
BADMASK
public static final CAStatus BADMASK
The monitor selection mask supplied is empty or inappropriate.
-
IODONE
public static final CAStatus IODONE
IO operations have completed.
-
IOINPROGESS
public static final CAStatus IOINPROGESS
IO operations are in progress.
-
BADSYNCGRP
public static final CAStatus BADSYNCGRP
Invalid synchronous group identifier.
-
PUTCBINPROG
public static final CAStatus PUTCBINPROG
Put callback timed out.
-
NORDACCESS
public static final CAStatus NORDACCESS
Read access denied.
-
NOWTACCESS
public static final CAStatus NOWTACCESS
Write access denied.
-
ANACHRONISM
public static final CAStatus ANACHRONISM
This anachhronistic feature of CA is no longer supported.
-
NOSEARCHADDR
public static final CAStatus NOSEARCHADDR
The search/beacon request address list was empty after initialization.
-
NOCONVERT
public static final CAStatus NOCONVERT
Data conversion between client's type and the server's type failed.
-
BADCHID
public static final CAStatus BADCHID
Invalid channel identifier.
-
BADFUNCPTR
public static final CAStatus BADFUNCPTR
Invalid callback method.
-
ISATTACHED
public static final CAStatus ISATTACHED
Thread is already attached to a client context.
-
UNAVAILINSERV
public static final CAStatus UNAVAILINSERV
No supprt in service.
-
CHANDESTROY
public static final CAStatus CHANDESTROY
User destroyed channel.
-
BADPRIORITY
public static final CAStatus BADPRIORITY
Priority out of range.
-
NOTTHREADED
public static final CAStatus NOTTHREADED
Preemptive callback not enabled - additional threads may not join.
-
ARRAY16KCLIENT
public static final CAStatus ARRAY16KCLIENT
Client's protocol revision does not support transfers exceeding 16k bytes
-
CONNSEQTMO
public static final CAStatus CONNSEQTMO
Virtual circuit connection sequence aborted
-
UNRESPTMO
public static final CAStatus UNRESPTMO
Virtual circuit connection unresponsive
-
CA_M_MSG_NO
public static final int CA_M_MSG_NO
- See Also:
- Constant Field Values
-
CA_M_SEVERITY
public static final int CA_M_SEVERITY
- See Also:
- Constant Field Values
-
CA_M_LEVEL
public static final int CA_M_LEVEL
- See Also:
- Constant Field Values
-
CA_M_SUCCESS
public static final int CA_M_SUCCESS
- See Also:
- Constant Field Values
-
CA_M_ERROR
public static final int CA_M_ERROR
- See Also:
- Constant Field Values
-
CA_M_SEVERE
public static final int CA_M_SEVERE
- See Also:
- Constant Field Values
-
CA_S_MSG_NO
public static final int CA_S_MSG_NO
- See Also:
- Constant Field Values
-
CA_S_SEVERITY
public static final int CA_S_SEVERITY
- See Also:
- Constant Field Values
-
CA_V_MSG_NO
public static final int CA_V_MSG_NO
- See Also:
- Constant Field Values
-
CA_V_SEVERITY
public static final int CA_V_SEVERITY
- See Also:
- Constant Field Values
-
CA_V_SUCCESS
public static final int CA_V_SUCCESS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CAStatus
protected CAStatus(String name, int value, CASeverity severity, String msg)
Creates a new instance of CAStatus
-
-
Method Detail
-
isSuccessful
public boolean isSuccessful()
-
isError
public boolean isError()
-
isFatal
public boolean isFatal()
-
getSeverity
public CASeverity getSeverity()
-
getMessage
public String getMessage()
-
toString
public String toString()
Description copied from class:ValuedEnumOverride toString method to produce human readable description.- Overrides:
toStringin classValuedEnum- Returns:
- String in the form
type[name=value], eg.:JavaVersion[Java 1.0=100].
-
forValue
public static final CAStatus forValue(int value)
-
getStatusCode
public final int getStatusCode()
Get EPICS status code.- Returns:
- EPICS status code.
-
forStatusCode
public static final CAStatus forStatusCode(int value)
Get status instance from EPICS status code.- Parameters:
value- EPICS status code.- Returns:
- status instance from EPICS status code.
-
-