Class CATypeAdapter

    • Constructor Detail

      • CATypeAdapter

        public CATypeAdapter​(Class<?> typeClass,
                             gov.aps.jca.dbr.DBRType epicsValueType,
                             gov.aps.jca.dbr.DBRType epicsMetaType,
                             Boolean array)
        Creates a new type adapter.
        Parameters:
        typeClass - the java type this adapter will create
        epicsValueType - the epics type used for the monitor
        epicsMetaType - the epics type for the get at connection time; null if no metadata is needed
        array - true whether this will require an array type
    • Method Detail

      • createValue

        public abstract Object createValue​(gov.aps.jca.dbr.DBR message,
                                           gov.aps.jca.dbr.DBR metadata,
                                           CAConnectionPayload connPayload)
        Given the value create the new value.
        Parameters:
        message - the value taken from the monitor
        metadata - the value field metadata, optional
        connPayload - connection playload
        Returns:
        the new value