Packagecom.bourre.service
Classpublic class ServiceEvent
InheritanceServiceEvent Inheritance BasicEvent Inheritance flash.events.Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The ServiceEvent class represents the event object passed to the event listener for Service events.

See also

Service
AbstractService


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
  
ServiceEvent(type:String, service:Service)
Creates new ServiceEvent instance.
ServiceEvent
 Inherited
clone():Event
Clone the event
BasicEvent
  
Returns the Service object carried by this event.
ServiceEvent
 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
 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
  onDataErrorEVENT : String = "onDataError"
[static] Defines the value of the type property of the event object for a onDataError event.
ServiceEvent
  onDataResultEVENT : String = "onDataResult"
[static] Defines the value of the type property of the event object for a onDataResult event.
ServiceEvent
Constructor detail
ServiceEvent()constructor
public function ServiceEvent(type:String, service:Service)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates new ServiceEvent instance.

Parameters
type:String — Event type
 
service:Service — Service carried by this event.
Method detail
getService()method
public function getService():Service

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the Service object carried by this event.

Returns
Service — The Service object carried by this event.
Constant detail
onDataErrorEVENTconstant
public static const onDataErrorEVENT:String = "onDataError"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

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

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getService() The remoting service
onDataResultEVENTconstant 
public static const onDataResultEVENT:String = "onDataResult"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

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

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getService() The remoting service