Packageorg.springextensions.actionscript.eventbus
Classpublic class EventBusShareSettings
InheritanceEventBusShareSettings Inheritance Object

Describes in what way two eventbuses will be shared.



Public Properties
 PropertyDefined By
  sharedTopics : Vector.<Object>
An optional Array of topic objects whose events will be shared between te eventbuses.
EventBusShareSettings
  shareKind : EventBusShareKind
Describes the directions in which two eventbuses listen to eachother.
EventBusShareSettings
  shareRegularEvents : Boolean = true
If true, events that are dispatched without a topic will be shared.
EventBusShareSettings
Public Methods
 MethodDefined By
  
EventBusShareSettings(shareRegular:Boolean = true, kind:EventBusShareKind = null, topics:Vector.<Object> = null)
Creates a new EventBusShareSettings instance.
EventBusShareSettings
  
toString():String
EventBusShareSettings
Property Detail
sharedTopicsproperty
public var sharedTopics:Vector.<Object>

An optional Array of topic objects whose events will be shared between te eventbuses.

The default value is null.

shareKindproperty 
public var shareKind:EventBusShareKind

Describes the directions in which two eventbuses listen to eachother.

The default value is EventBusShareKind.BOTH_WAYS.

shareRegularEventsproperty 
public var shareRegularEvents:Boolean = true

If true, events that are dispatched without a topic will be shared.

The default value is true.

Constructor Detail
EventBusShareSettings()Constructor
public function EventBusShareSettings(shareRegular:Boolean = true, kind:EventBusShareKind = null, topics:Vector.<Object> = null)

Creates a new EventBusShareSettings instance.

Parameters
shareRegular:Boolean (default = true) — If true, events that are dispatched without a topic will be shared. Default is true.
 
kind:EventBusShareKind (default = null) — Describes the directions in which two eventbuses listen to eachother. Default is EventBusShareKind.BOTH_WAYS.
 
topics:Vector.<Object> (default = null) — An optional Array of topic objects whose events will be shared between te eventbuses. Default is null.
Method Detail
toString()method
public function toString():String

Returns
String