| Package | com.bourre.service |
| Class | public class ServiceEvent |
| Inheritance | ServiceEvent BasicEvent flash.events.Event |
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Service events.
See also
| Method | Defined by | ||
|---|---|---|---|
|
ServiceEvent(type:String, service:Service)
Creates new
ServiceEvent instance. | ServiceEvent | ||
![]() |
clone():Event
Clone the event
| BasicEvent | |
|
Returns the Service object carried by this event.
| ServiceEvent | ||
![]() |
getTarget():Object
Returns the current source of this event object.
| BasicEvent | |
![]() |
getType():String
Returns the type of this event, which generally correspond
to the name of the called function on the listener.
| BasicEvent | |
![]() |
setTarget(oTarget:Object):void
Defines the new source object of this event.
| BasicEvent | |
![]() |
setType(en:String):void
Defines the new event type for this event object.
| BasicEvent | |
![]() |
toString():String
Returns the string representation of this instance.
| BasicEvent | |
| Constant | Defined 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 | ||
| ServiceEvent | () | constructor |
public function ServiceEvent(type:String, service:Service)
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Creates new ServiceEvent instance.
type:String — Event type
|
|
service:Service — Service carried by this event.
|
| 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.
ReturnsService —
The Service object carried by this event.
|
| onDataErrorEVENT | constant |
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:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getService()
| The remoting service |
| onDataResultEVENT | constant |
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:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getService()
| The remoting service |