PostCenterEvent

Kind of class: public class
Package:
Inherits from:
  • Event
Dispatched by:
Classpath: org.asaplibrary.util.postcenter.PostCenterEvent
File last modified: Wednesday, 11 May 2011, 19:03:48
Event object sent by PostCenter. Subscribe to type _EVENT.

Summary

Constructor
  • PostCenterEvent (inSubtype:String, inRequest:URLRequest = null)
    • Creates a new PostCenterEvent.
Constants
  • _EVENT : String
    • Event type.
  • REQUEST_SENT : String
    • Dispatched after sending a request.
  • ALL_SENT : String
    • Dispatched when all requests in the send queue have been processed.
Instance properties
Instance methods
  • toString () : String
  • clone () : Event
    • Creates a copy of an existing PostCenterEvent.

Constructor

PostCenterEvent

function PostCenterEvent(inSubtype:String, inRequest:URLRequest = null)

Creates a new PostCenterEvent.

Parameters
inSubtype:either subtype; see above
inRequest:(optional) the request that is sent

Constants

ALL_SENT

static const ALL_SENT:String = "allSent"

Dispatched when all requests in the send queue have been processed.

REQUEST_SENT

static const REQUEST_SENT:String = "requestSent"

Dispatched after sending a request.

_EVENT

static const _EVENT:String = "onPostCenterEvent"

Event type.

Instance properties

request

request:URLRequest(read,write)

subtype

subtype:String(read,write)

Instance methods

clone

override function clone() : Event

Creates a copy of an existing PostCenterEvent.

Overrides
  • Event.clone

toString

override function toString() : String
Overrides
  • Event.toString