Package cern.dip.mock

Class MockDipSubscription

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getTopicName()
      Returns Name of the DipData item this object is subscribed to.
      void requestUpdate()
      Requests last value to be re-send.
      void setCurrentValue​(DipData dipData)  
      • Methods inherited from class java.lang.Object

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

      • MockDipSubscription

        public MockDipSubscription​(MockDipFactory factory,
                                   java.lang.String topicName)
    • Method Detail

      • getTopicName

        public java.lang.String getTopicName()
        Description copied from interface: DipSubscription
        Returns Name of the DipData item this object is subscribed to.
        Specified by:
        getTopicName in interface DipSubscription
      • requestUpdate

        public void requestUpdate()
        Description copied from interface: DipSubscription
        Requests last value to be re-send. This value will be received via the normal subscription listener mechanism.
        Specified by:
        requestUpdate in interface DipSubscription
      • setCurrentValue

        public void setCurrentValue​(DipData dipData)