| Package | com.developmentarc.framework.utils.events |
| Class | public class LocalConnectionEvent |
| Inheritance | LocalConnectionEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| errorID : int
Stores the error ID if provided.
| LocalConnectionEvent | ||
| errorMessage : String
Contains the error message that has been generated or received.
| LocalConnectionEvent | ||
| status : String
Contains the simple status string.
| LocalConnectionEvent | ||
| statusCode : String
Contains the status code for a status message.
| LocalConnectionEvent | ||
| statusMessage : String
Stores the sting verison of the status message that contains the instance name that reported the error.
| LocalConnectionEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
LocalConnectionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
| LocalConnectionEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| CONNECTION_ERROR : String = "CONNECTION_ERROR" [static]
Dispatched when the LocalConnectionManager can not connect to the requested application name.
| LocalConnectionEvent | ||
| SENT_MESSAGE_ERROR : String = "SENT_MESSAGE_ERROR" [static]
When a message can not be sent properly by the LocalConnectionManager this error is dispatched.
| LocalConnectionEvent | ||
| STATUS_MESSAGE : String = "STATUS_MESSAGE" [static]
Dispatched when a status message has been sent.
| LocalConnectionEvent | ||
| errorID | property |
public var errorID:intStores the error ID if provided.
| errorMessage | property |
public var errorMessage:StringContains the error message that has been generated or received.
| status | property |
public var status:StringContains the simple status string.
| statusCode | property |
public var statusCode:StringContains the status code for a status message.
| statusMessage | property |
public var statusMessage:StringStores the sting verison of the status message that contains the instance name that reported the error.
| LocalConnectionEvent | () | constructor |
public function LocalConnectionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)Constructor. Same as the base Event Class.
Parameterstype:String — The Event Type
|
|
bubbles:Boolean (default = false) — Defines if the event should bubble.
|
|
cancelable:Boolean (default = false) — Defines if the event can be cancelled.
|
| CONNECTION_ERROR | constant |
public static const CONNECTION_ERROR:String = "CONNECTION_ERROR"Dispatched when the LocalConnectionManager can not connect to the requested application name. This is usually caused by another application already connected via the provided name.
| SENT_MESSAGE_ERROR | constant |
public static const SENT_MESSAGE_ERROR:String = "SENT_MESSAGE_ERROR"When a message can not be sent properly by the LocalConnectionManager this error is dispatched. If the error is caused by a callback from another application using the LCM protocol then the event will contain details about the cause of the error.
| STATUS_MESSAGE | constant |
public static const STATUS_MESSAGE:String = "STATUS_MESSAGE"Dispatched when a status message has been sent.