Class CmionComponent

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IArchitecture architecture
      reference to the architecture, through which references to other components can be obtained
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CmionComponent​(IArchitecture architecture)
      create a new cmion Component
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      IArchitecture getArchitecture()
      returns a reference to the architecture object, through which references to other components can be obtained
      boolean isConnected()
      Cmion compoenents that do require a socket connection to an external program, such as a fatima mind, various competencies, etc.
      void onDestroy()  
      void raise​(ion.Meta.Event evt)  
      abstract void registerHandlers()
      every cmion component has to implement this method and register its event and request handlers in here
      • Methods inherited from class ion.Meta.Element

        destroy, getEventFilters, getEventHandlers, getRequestFilters, getRequestHandlers, getSimulation, getUID, schedule, wasDestroyed
      • Methods inherited from class java.lang.Object

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

      • architecture

        protected IArchitecture architecture
        reference to the architecture, through which references to other components can be obtained
    • Constructor Detail

      • CmionComponent

        protected CmionComponent​(IArchitecture architecture)
        create a new cmion Component
    • Method Detail

      • getArchitecture

        public IArchitecture getArchitecture()
        returns a reference to the architecture object, through which references to other components can be obtained
      • registerHandlers

        public abstract void registerHandlers()
        every cmion component has to implement this method and register its event and request handlers in here
      • isConnected

        public boolean isConnected()
        Cmion compoenents that do require a socket connection to an external program, such as a fatima mind, various competencies, etc. can override this method and in it return the connection status
      • onDestroy

        public void onDestroy()
        Specified by:
        onDestroy in class ion.Meta.Element
      • raise

        public void raise​(ion.Meta.Event evt)
        Overrides:
        raise in class ion.Meta.Element