Class CmionComponent

java.lang.Object
ion.Meta.Element
cmion.architecture.CmionComponent
Direct Known Subclasses:
AgentMindConnector, CmionStorageContainer, Competency, CompetencyExecution, CompetencyLibrary, CompetencyManager

public abstract class CmionComponent extends ion.Meta.Element
parent class for all cmion components
  • Field Summary

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    create a new cmion Component
  • Method Summary

    Modifier and Type
    Method
    Description
    returns a reference to the architecture object, through which references to other components can be obtained
    boolean
    Cmion compoenents that do require a socket connection to an external program, such as a fatima mind, various competencies, etc.
    void
     
    void
    raise(ion.Meta.Event evt)
     
    abstract void
    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 Details

    • architecture

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

    • CmionComponent

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

    • 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