Packagenet.guttershark.remoting.events
Classpublic class ConnectionEvent
InheritanceConnectionEvent Inheritance flash.events.Event

ConnectionEvent is dispatched from RemotingConnection for any events that occur from attempting to connect to the remoting gateway.



Public Properties
 PropertyDefined by
  message : String
The message from the event / error.
ConnectionEvent
Public Methods
 MethodDefined by
  
ConnectionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
New ConnectionEvent
ConnectionEvent
Public Constants
 ConstantDefined by
  CONNECTED : String = "connected"
[static] Dispatched when the RemotingConnection has successfully connected.
ConnectionEvent
  DISCONNECT : String = "disconnect"
[static] Dispatched when the connection was disconnected.
ConnectionEvent
  ERROR : String = "error"
[static] Dispatched when the RemotingConnection has some ambiguous error.
ConnectionEvent
  FAILED : String = "failed"
[static] Dispatched when the connection failed.
ConnectionEvent
  FORMAT_ERROR : String = "formatError"
[static] Dispatched when AMF Version errors happen.
ConnectionEvent
  SECURITY_ERROR : String = "securityError"
[static] Dispatched when a security error happens.
ConnectionEvent
Property detail
messageproperty
public var message:String

The message from the event / error.

Constructor detail
ConnectionEvent()constructor
public function ConnectionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

New ConnectionEvent

Parameters
type:String — String event type
 
bubbles:Boolean (default = false) — Boolean bubbles
 
cancelable:Boolean (default = false) — Boolean cancelable
Constant detail
CONNECTEDconstant
public static const CONNECTED:String = "connected"

Dispatched when the RemotingConnection has successfully connected.

DISCONNECTconstant 
public static const DISCONNECT:String = "disconnect"

Dispatched when the connection was disconnected.

ERRORconstant 
public static const ERROR:String = "error"

Dispatched when the RemotingConnection has some ambiguous error.

FAILEDconstant 
public static const FAILED:String = "failed"

Dispatched when the connection failed.

FORMAT_ERRORconstant 
public static const FORMAT_ERROR:String = "formatError"

Dispatched when AMF Version errors happen.

SECURITY_ERRORconstant 
public static const SECURITY_ERROR:String = "securityError"

Dispatched when a security error happens.