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.Element
parent class for all cmion components
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IArchitecturereference to the architecture, through which references to other components can be obtained -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCmionComponent(IArchitecture architecture) create a new cmion Component -
Method Summary
Modifier and TypeMethodDescriptionreturns a reference to the architecture object, through which references to other components can be obtainedbooleanCmion compoenents that do require a socket connection to an external program, such as a fatima mind, various competencies, etc.voidvoidraise(ion.Meta.Event evt) abstract voidevery cmion component has to implement this method and register its event and request handlers in hereMethods inherited from class ion.Meta.Element
destroy, getEventFilters, getEventHandlers, getRequestFilters, getRequestHandlers, getSimulation, getUID, schedule, wasDestroyed
-
Field Details
-
architecture
reference to the architecture, through which references to other components can be obtained
-
-
Constructor Details
-
CmionComponent
create a new cmion Component
-
-
Method Details
-
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
-