Package cmion.architecture
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.Elementparent class for all cmion components
-
-
Field Summary
Fields Modifier and Type Field Description protected IArchitecturearchitecturereference to the architecture, through which references to other components can be obtained
-
Constructor Summary
Constructors Modifier Constructor Description protectedCmionComponent(IArchitecture architecture)create a new cmion Component
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description IArchitecturegetArchitecture()returns a reference to the architecture object, through which references to other components can be obtainedbooleanisConnected()Cmion compoenents that do require a socket connection to an external program, such as a fatima mind, various competencies, etc.voidonDestroy()voidraise(ion.Meta.Event evt)abstract voidregisterHandlers()every cmion component has to implement this method and register its event and request handlers in here
-
-
-
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:
onDestroyin classion.Meta.Element
-
raise
public void raise(ion.Meta.Event evt)
- Overrides:
raisein classion.Meta.Element
-
-