Package gov.aps.jca

Class CAStatus


  • public class CAStatus
    extends ValuedEnum
    Enumeration class representing Channel Access Status codes.
    Author:
    Eric Boucher
    • 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
    • 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()
      • getMessage

        public String getMessage()
      • toString

        public String toString()
        Description copied from class: ValuedEnum
        Override toString method to produce human readable description.
        Overrides:
        toString in class ValuedEnum
        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.