Packagecom.bourre.plugin
Classpublic class ChannelExpert

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The ChannelExpert class is a repository for EventChannel object.

See also

com.bourre.events.EventChannel


Public Methods
 MethodDefined by
  
Returns EventChannel for passed-in plugin.
ChannelExpert
  
[static] Returns singleton instance of ChannelExpert.
ChannelExpert
  
Registers passed-in event channel in hashmap.
ChannelExpert
  
release():void
[static] Releases instance.
ChannelExpert
  
Releases event channel of passed-in plugin
ChannelExpert
  
toString():String
Returns the string representation of this instance.
ChannelExpert
Method detail
getChannel()method
public function getChannel(o:Plugin):EventChannel

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns EventChannel for passed-in plugin.

Parameters
o:Plugin — Plugin to check

Returns
EventChannelEventChannel for passed-in plugin.
getInstance()method 
public static function getInstance():ChannelExpert

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns singleton instance of ChannelExpert.

Returns
ChannelExpert — singleton instance of ChannelExpert
registerChannel()method 
public function registerChannel(channel:EventChannel):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Registers passed-in event channel in hashmap.

Parameters
channel:EventChannel — Event channel to store.
release()method 
public static function release():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Releases instance.

releaseChannel()method 
public function releaseChannel(o:Plugin):Boolean

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Releases event channel of passed-in plugin

Parameters
o:Plugin — Plugin to check

Returns
Boolean
toString()method 
public function toString():String

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the string representation of this instance.

Returns
String — the string representation of this instance