Packagecom.exadel.flamingo.flex.components.flamingo
Classpublic class HessianBindingService
InheritanceHessianBindingService Inheritance flash.events.EventDispatcher
Implementsmx.rpc.IResponder

This component allows synchronizing server objects with client objects and vice versa. It uses Hessian protocol for server comunication.



Public Properties
 PropertyDefined by
  bindingManager : String
Name of server binding component
HessianBindingService
  destination : String
Name of the server component to bind to
HessianBindingService
  source : *
Reference to local binding source.
HessianBindingService
Public Methods
 MethodDefined by
  
Constructor.
HessianBindingService
  
commit():void
Sends a client version of the bound component (bindingSource) to the server.
HessianBindingService
  
update():void
Takes the server version of the bound component (bindingTarget) from the server and transfer the data to the client component (bindingSource).
HessianBindingService
Events
 EventSummaryDefined by
    HessianBindingService
Property detail
bindingManagerproperty
bindingManager:String  [read-write]

Name of server binding component

The default value is "com.exadel.flamingo.service.binding.bindingManager".

This property can be used as the source for data binding.

Implementation
    public function get bindingManager():String
    public function set bindingManager(value:String):void
destinationproperty 
destination:String  [read-write]

Name of the server component to bind to

This property can be used as the source for data binding.

Implementation
    public function get destination():String
    public function set destination(value:String):void
sourceproperty 
source:*  [read-write]

Reference to local binding source. Use Flex binding notation to specify this property.

This property can be used as the source for data binding.

Implementation
    public function get source():*
    public function set source(value:*):void
Constructor detail
HessianBindingService()constructor
public function HessianBindingService()

Constructor. Initializes component.

Method detail
commit()method
public function commit():void

Sends a client version of the bound component (bindingSource) to the server.

update()method 
public function update():void

Takes the server version of the bound component (bindingTarget) from the server and transfer the data to the client component (bindingSource).

Event detail
resultevent 
Event object type: mx.rpc.events.ResultEvent