| Package | org.granite.tide.data |
| Class | public class DataObserver |
| Inheritance | DataObserver flash.events.EventDispatcher |
| Implements | IComponent |
| Property | Defined by | ||
|---|---|---|---|
| meta_name : String [read-only]
| DataObserver | ||
| topic : String [write-only]
| DataObserver | ||
| Method | Defined by | ||
|---|---|---|---|
|
meta_clear():void
| DataObserver | ||
|
meta_init(componentName:String, context:BaseContext):void
| DataObserver | ||
|
subscribe():void
Subscribe the data topic
| DataObserver | ||
|
subscribeHandler(event:Event):void
| DataObserver | ||
|
unsubscribe():void
Unsubscribe the data topic
| DataObserver | ||
| Method | Defined by | ||
|---|---|---|---|
|
messageHandler(event:MessageEvent):void
Message handler that merges data from the JMS topic in the current context.
Could be overriden to provide custom behaviour. | DataObserver | ||
| meta_name | property |
meta_name:String [read-only]This property can be used as the source for data binding.
Implementation public function get meta_name():String
| topic | property |
topic:String [write-only]This property can be used as the source for data binding.
Implementation public function set topic(value:String):void
| messageHandler | () | method |
protected function messageHandler(event:MessageEvent):void
Message handler that merges data from the JMS topic in the current context.
Could be overriden to provide custom behaviour.
event:MessageEvent — message event from the Consumer
|
| meta_clear | () | method |
public function meta_clear():void
| meta_init | () | method |
public function meta_init(componentName:String, context:BaseContext):voidParameters
componentName:String |
|
context:BaseContext |
| subscribe | () | method |
public function subscribe():voidSubscribe the data topic
| subscribeHandler | () | method |
public function subscribeHandler(event:Event):voidParameters
event:Event |
| unsubscribe | () | method |
public function unsubscribe():voidUnsubscribe the data topic