Class ProcessVariable4Record

java.lang.Object
gov.aps.jca.cas.ProcessVariable
org.scictrl.csshell.epics.server.ProcessVariable4Record
All Implemented Interfaces:
PropertyChangeListener, EventListener

public class ProcessVariable4Record extends gov.aps.jca.cas.ProcessVariable implements PropertyChangeListener

ProcessVariable4Record class.

Author:
igor@scictrl.com
  • Field Summary

    Fields inherited from class gov.aps.jca.cas.ProcessVariable

    ackS, ackT, channelCount, eventCallback, interest, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProcessVariable4Record(Record record, gov.aps.jca.cas.ProcessVariableEventCallback eventCallback)
    Constructor for ProcessVariable4Record.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    int
    getDimensionSize(int dimension)
    gov.aps.jca.dbr.DBRType
    void
    gov.aps.jca.CAStatus
    read(gov.aps.jca.dbr.DBR value, gov.aps.jca.cas.ProcessVariableReadCallback asyncReadCallback)
    gov.aps.jca.CAStatus
    write(gov.aps.jca.dbr.DBR value, gov.aps.jca.cas.ProcessVariableWriteCallback asyncWriteCallback)

    Methods inherited from class gov.aps.jca.cas.ProcessVariable

    createChannel, getAckS, getEventCallback, getMaxDimension, getName, interestDelete, interestRegister, isAckT, printInfo, printInfo, registerChannel, setAckS, setAckT, setEventCallback, unregisterChannel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProcessVariable4Record

      public ProcessVariable4Record(Record record, gov.aps.jca.cas.ProcessVariableEventCallback eventCallback)

      Constructor for ProcessVariable4Record.

      Parameters:
      record - a Record object
      eventCallback - a ProcessVariableEventCallback object
  • Method Details

    • getType

      public gov.aps.jca.dbr.DBRType getType()
      Specified by:
      getType in class gov.aps.jca.cas.ProcessVariable
    • getDimensionSize

      public int getDimensionSize(int dimension)
      Overrides:
      getDimensionSize in class gov.aps.jca.cas.ProcessVariable
    • getEnumLabels

      public String[] getEnumLabels()
      Overrides:
      getEnumLabels in class gov.aps.jca.cas.ProcessVariable
    • read

      public gov.aps.jca.CAStatus read(gov.aps.jca.dbr.DBR value, gov.aps.jca.cas.ProcessVariableReadCallback asyncReadCallback) throws gov.aps.jca.CAException
      Specified by:
      read in class gov.aps.jca.cas.ProcessVariable
      Throws:
      gov.aps.jca.CAException
    • write

      public gov.aps.jca.CAStatus write(gov.aps.jca.dbr.DBR value, gov.aps.jca.cas.ProcessVariableWriteCallback asyncWriteCallback) throws gov.aps.jca.CAException
      Specified by:
      write in class gov.aps.jca.cas.ProcessVariable
      Throws:
      gov.aps.jca.CAException
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Specified by:
      propertyChange in interface PropertyChangeListener
    • destroy

      public void destroy()
      Overrides:
      destroy in class gov.aps.jca.cas.ProcessVariable