ActionScript® 3.0 Referenzhandbuch für die Adobe® Flash®-Plattform
Home  |  Liste der Pakete und Klassen ausblenden |  Pakete  |  Klassen  |  Neue Funktionen  |  Stichwortverzeichnis  |  Anhänge  |  Warum auf Englisch?
Filter: Daten werden vom Server abgerufen...
Daten werden vom Server abgerufen...
com.adobe.mosaic.om.interfaces 

IMessageBus  - AS3 ADEP Composite Application

Paketcom.adobe.mosaic.om.interfaces
Schnittstellepublic interface IMessageBus

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
Laufzeitversionen: AIR 2.6, Flash Player 10.2

The IMessageBus interface provides methods for handling inter-tile communication.

Verwandte API-Elemente

com.adobe.om.interfaces.IApplication


Öffentliche Methoden
 MethodeDefiniert von
  
addMessageListener(namespace:String, name:String, handler:Function):void
Adds a listener for a namespace and name combination.
IMessageBus
  
removeMessageListener(namespace:String, name:String, handler:Function):void
Removes a listener for a namespace and name combination.
IMessageBus
  
Sends a message to all the tiles in a composite application.
IMessageBus
Methodendetails

addMessageListener

()Methode
public function addMessageListener(namespace:String, name:String, handler:Function):void

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
Laufzeitversionen: AIR 2.6, Flash Player 10.2

Adds a listener for a namespace and name combination.

After calling this method, the listener is called anytime a message that matches the namespace and name is sent by any other tile in the application.

Parameter

namespace:String — The namespace of the message.
 
name:String — The name of the message to listen for.
 
handler:Function — A function that triggers once for each sendMessage that is called that matches the namespace and name. The function takes one parameter of type Message.

Verwandte API-Elemente

removeMessageListener

()Methode 
public function removeMessageListener(namespace:String, name:String, handler:Function):void

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
Laufzeitversionen: AIR 2.6, Flash Player 10.2

Removes a listener for a namespace and name combination.

After calling this method, the listener is no longer called anytime a message that matches the namespace and name is sent by any other tile in the application.

Parameter

namespace:String — The namespace of the message.
 
name:String — The name of the message to no longer listen for.
 
handler:Function — The function to no longer be called.

Verwandte API-Elemente

sendMessage

()Methode 
public function sendMessage(message:Message):void

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
Laufzeitversionen: AIR 2.6, Flash Player 10.2

Sends a message to all the tiles in a composite application.

This is used to convey transitory information across all the tiles in the application. The messages are not kept or queued for later processing, they are only visible to tiles that are in the application at the time the message is sent.

Parameter

message:Message — The message to send.





[ X ]Warum auf Englisch?
Inhalt des ActionScript 3.0-Referenzhandbuchs wird in englischer Sprache angezeigt

Nicht alle Teile des ActionScript 3.0-Referenzhandbuchs wurden in alle Sprachen übersetzt. Wenn der Text zu einem Sprachelement nicht übersetzt wurde, wird er auf Englisch angezeigt. Zum Beispiel wurden die Informationen zur ga.controls.HelpBox-Klasse nicht in andere Sprachen übersetzt. In der deutschen Version des Referenzhandbuchs erscheint der Abschnitt zur ga.controls.HelpBox-Klasse deshalb auf Englisch.