Packagecom.bourre.remoting.events
Classpublic class BasicResultEvent
InheritanceBasicResultEvent Inheritance BasicEvent Inheritance flash.events.Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The BasicResultEvent class represents the event object passed to the event listener for ServiceResponder events.

See also

com.bourre.remoting.ServiceResponder


Public Properties
 PropertyDefined by
 Inheritedtarget : Object
The source object of this event
BasicEvent
 Inheritedtype : String
The type of this event
BasicEvent
Protected Properties
 PropertyDefined by
 Inherited_oTarget : Object
The source object of this event, redefined to provide write access
BasicEvent
 Inherited_sType : String
The type of the event, redefined to provide write access
BasicEvent
Public Methods
 MethodDefined by
  
BasicResultEvent(result:*, methodName:ServiceMethod)
Creates new BasicResultEvent instance.
BasicResultEvent
 Inherited
clone():Event
Clone the event
BasicEvent
  
Returns service call result.
BasicResultEvent
  
Returns service methosd name carried by this event.
BasicResultEvent
 Inherited
getTarget():Object
Returns the current source of this event object.
BasicEvent
 Inherited
getType():String
Returns the type of this event, which generally correspond to the name of the called function on the listener.
BasicEvent
  
redirectType():void
BasicResultEvent
 Inherited
setTarget(oTarget:Object):void
Defines the new source object of this event.
BasicEvent
 Inherited
setType(en:String):void
Defines the new event type for this event object.
BasicEvent
 Inherited
toString():String
Returns the string representation of this instance.
BasicEvent
Public Constants
 ConstantDefined by
  onResultEVENT : String = "onResult"
[static] Defines the value of the type property of the event object for a onResult event.
BasicResultEvent
Constructor detail
BasicResultEvent()constructor
public function BasicResultEvent(result:*, methodName:ServiceMethod)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates new BasicResultEvent instance.

Parameters
result:* — Service call result
 
methodName:ServiceMethod — Service method which has been called
Method detail
getResult()method
public function getResult():*

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns service call result.

Returns
* — The service call result
getServiceMethode()method 
public function getServiceMethode():ServiceMethod

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns service methosd name carried by this event.

Returns
ServiceMethod — The service methosd name carried by this event.
redirectType()method 
public function redirectType():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Constant detail
onResultEVENTconstant
public static const onResultEVENT:String = "onResult"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onResult event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getResult() The service call result