| Package | net.guttershark.remoting.events |
| Class | public class ConnectionEvent |
| Inheritance | ConnectionEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| message : String
The message from the event / error.
| ConnectionEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
ConnectionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
New ConnectionEvent
| ConnectionEvent | ||
| Constant | Defined 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 | ||
| message | property |
public var message:StringThe message from the event / error.
| ConnectionEvent | () | constructor |
public function ConnectionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)New ConnectionEvent
Parameterstype:String — String event type
|
|
bubbles:Boolean (default = false) — Boolean bubbles
|
|
cancelable:Boolean (default = false) — Boolean cancelable
|
| CONNECTED | constant |
public static const CONNECTED:String = "connected"Dispatched when the RemotingConnection has successfully connected.
| DISCONNECT | constant |
public static const DISCONNECT:String = "disconnect"Dispatched when the connection was disconnected.
| ERROR | constant |
public static const ERROR:String = "error"Dispatched when the RemotingConnection has some ambiguous error.
| FAILED | constant |
public static const FAILED:String = "failed"Dispatched when the connection failed.
| FORMAT_ERROR | constant |
public static const FORMAT_ERROR:String = "formatError"Dispatched when AMF Version errors happen.
| SECURITY_ERROR | constant |
public static const SECURITY_ERROR:String = "securityError"Dispatched when a security error happens.