Packagefin.desktop
Classpublic class InterApplicationBus
InheritanceInterApplicationBus Inheritance Object



Public Methods
 MethodDefined By
  
InterApplicationBus
  
addSubscribeListener(listener:Function):void
InterApplicationBus
  
addUnsubscribeListener(listener:Function):void
InterApplicationBus
  
[static]
InterApplicationBus
  
publish(topic:String, message:*):void
InterApplicationBus
  
removeSubscribeListener(listener:Function):void
InterApplicationBus
  
removeUnsubscribeListener(listener:Function):void
InterApplicationBus
  
send(destinationUuid:String, topic:String, message:*):void
InterApplicationBus
  
subscribe(sourceUuid:String, topic:String, listener:Function, callback:Function = null, errorCallback:Function = null):void
InterApplicationBus
  
unsubscribe(sourceUuid:String, topic:String, listener:Function, callback:Function = null, errorCallback:Function = null):void
InterApplicationBus
Constructor Detail
InterApplicationBus()Constructor
public function InterApplicationBus()



Method Detail
addSubscribeListener()method
public function addSubscribeListener(listener:Function):void

Parameters

listener:Function

addUnsubscribeListener()method 
public function addUnsubscribeListener(listener:Function):void

Parameters

listener:Function

getInstance()method 
public static function getInstance():InterApplicationBus

Returns
InterApplicationBus
publish()method 
public function publish(topic:String, message:*):void

Parameters

topic:String
 
message:*

removeSubscribeListener()method 
public function removeSubscribeListener(listener:Function):void

Parameters

listener:Function

removeUnsubscribeListener()method 
public function removeUnsubscribeListener(listener:Function):void

Parameters

listener:Function

send()method 
public function send(destinationUuid:String, topic:String, message:*):void

Parameters

destinationUuid:String
 
topic:String
 
message:*

subscribe()method 
public function subscribe(sourceUuid:String, topic:String, listener:Function, callback:Function = null, errorCallback:Function = null):void

Parameters

sourceUuid:String
 
topic:String
 
listener:Function
 
callback:Function (default = null)
 
errorCallback:Function (default = null)

unsubscribe()method 
public function unsubscribe(sourceUuid:String, topic:String, listener:Function, callback:Function = null, errorCallback:Function = null):void

Parameters

sourceUuid:String
 
topic:String
 
listener:Function
 
callback:Function (default = null)
 
errorCallback:Function (default = null)