Class OIAChangedEvent


  • public class OIAChangedEvent
    extends Object
    Data carrier for OIA changed events.
    • Constructor Detail

      • OIAChangedEvent

        public OIAChangedEvent​(OIA oia,
                               Set<OIAStatus> currentStatus,
                               int progErrorCode,
                               int commErrorCode)
        Creates a new instance of the OIA changed event.
        Parameters:
        oia - the OIA instance in which the status changed
        currentStatus - set of OIAStatus values indicating the current state
        progErrorCode - program error code
        commErrorCode - communication error code
    • Method Detail

      • getOIA

        public OIA getOIA()
        Returns:
        OIA object that fired this event.
      • getStatus

        public Set<OIAStatus> getStatus()
        Returns:
        current status.
      • getProgErrorCode

        public int getProgErrorCode()
        Returns:
        host program error code.
      • getCommErrorCode

        public int getCommErrorCode()
        Returns:
        host communication error code.
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        a human-readable rendering of this object.