class AbstractContext
package com.domwires.core.mvc.context
extends HierarchyObjectContainer › AbstractHierarchyObject › MessageDispatcher › AbstractDisposable
implements IContext
Variables
Methods
executeCommand(commandClass:Class<ICommand>, ?data:Dynamic, ?guardList:Array<Class<IGuards>>, ?guardNotList:Array<Class<IGuards>>):Bool
handleMessage(message:IMessage):Void
Handle specified message and send it to context children according context config
Parameters:
null | message |
---|
See also:
com.domwires.core.mvc.context.config.ContextConfigVo
map(messageType:EnumValue, commandClass:Class<ICommand>, ?data:Dynamic, once:Bool = false, stopOnExecute:Bool = false):MappingConfig
map1(messageType:EnumValue, commandClassList:Array<Class<ICommand>>, ?data:Dynamic, once:Bool = false, stopOnExecute:Bool = false):MappingConfigList
map2(messageTypeList:Array<EnumValue>, commandClass:Class<ICommand>, ?data:Dynamic, once:Bool = false, stopOnExecute:Bool = false):MappingConfigList
map3(messageTypeList:Array<EnumValue>, commandClassList:Array<Class<ICommand>>, ?data:Dynamic, once:Bool = false, stopOnExecute:Bool = false):MappingConfigList
onMessageBubbled(message:IMessage):Bool
By default, messaged won't bubble up to higher hierarchy level. Override and return true, if you want bubbled message move higher.
See also:
com.domwires.core.mvc.message.IBubbleMessageHandler#onMessageBubbled