Class DipSubscriptionImp

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void connected()
      Delegates to the Listener.
      void disconnected​(java.lang.String reason)
      Delegates to the Listener.
      void finalize()  
      java.lang.String getTopicName()
      Returns Name of the DipData item this object is subscribed to.
      void handleException​(java.lang.Exception ex)
      Delegates to the Listener.
      void handleMessage​(java.lang.String format, java.nio.ByteBuffer buffer, int quality, java.lang.String qualityreason, long timeStamp_ns)
      Delegates to the Listener.
      void requestUpdate()
      Requests last value to be re-send.
      protected void setDestroyed()
      Mark object as destoyed - will cause the C++ representation to be removed
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • finalize

        public void finalize()
        Overrides:
        finalize in class java.lang.Object
      • 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
      • connected

        public void connected()
        Delegates to the Listener. This is an entry point for the C++ implementation.
      • disconnected

        public void disconnected​(java.lang.String reason)
        Delegates to the Listener. This is an entry point for the C++ implementation.
      • handleException

        public void handleException​(java.lang.Exception ex)
        Delegates to the Listener. This is an entry point for the C++ implementation.
      • handleMessage

        public void handleMessage​(java.lang.String format,
                                  java.nio.ByteBuffer buffer,
                                  int quality,
                                  java.lang.String qualityreason,
                                  long timeStamp_ns)
        Delegates to the Listener. This is an entry point for the C++ implementation.
      • setDestroyed

        protected void setDestroyed()
        Mark object as destoyed - will cause the C++ representation to be removed
        Specified by:
        setDestroyed in class FactoryProduct