Class VabInvocablesCreator.AbstractFunctor

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractFunctor​(VabInvocablesCreator creator, java.lang.String name)
      Creates a functor instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.basyx.vab.modelprovider.VABElementProxy createProxy()
      Creates the element proxy.
      protected VabInvocablesCreator getCreator()
      Returns the creator instance.
      protected java.lang.String getId()
      Returns the id of the creator.
      java.lang.String getName()
      Returns the name of the implementation element.
      protected boolean isOk()
      Returns whether the underlying connection is ok.
      protected void markAsFailed()
      Marks the underlying connection as failed for TIMEOUT.
      • Methods inherited from class java.lang.Object

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

      • failed

        private static java.util.Map<java.lang.String,​java.lang.Long> failed
      • name

        private java.lang.String name
    • Constructor Detail

      • AbstractFunctor

        protected AbstractFunctor​(VabInvocablesCreator creator,
                                  java.lang.String name)
        Creates a functor instance.
        Parameters:
        creator - the creator instance
        name - the name
    • Method Detail

      • markAsFailed

        protected void markAsFailed()
        Marks the underlying connection as failed for TIMEOUT.
      • isOk

        protected boolean isOk()
        Returns whether the underlying connection is ok.
        Returns:
        true for ok, false for currently failing
      • getCreator

        protected VabInvocablesCreator getCreator()
        Returns the creator instance.
        Returns:
        the creator instance
      • createProxy

        protected org.eclipse.basyx.vab.modelprovider.VABElementProxy createProxy()
        Creates the element proxy.
        Returns:
        the element proxy
      • getId

        protected java.lang.String getId()
        Returns the id of the creator.
        Returns:
        the id
      • getName

        public java.lang.String getName()
        Returns the name of the implementation element.
        Returns:
        the name