|Class||public class ConnectionDropEvent|
|Inheritance||ConnectionDropEvent LSClientEvent flash.events.Event|
As a consequence, the connection status will be switched to DISCONNECTED and no automatic reconnection attempt will be performed.
By handling the event, it is possible to perform recovery actions, such as trying a reconnection; however, it may be advisable not to try a new connection immediately. Note that in case the connection status is changed in the handler, no further switch to DISCONNECTED status will be performed.
|client : LSClient|
[read-only] The LSClient which this event is related to.
|endCause : int|
[read-only] A code that describes the cause of the connection ending or 0 if no cause information is supplied.
|CONNECTION_DROP : String = ConnectionDrop|
[static] Define the value of the type property of a ConnectionDrop event object.
A code that describes the cause of the connection ending or 0 if no cause information is supplied. See the "END" message in the text protocol documentation for details on the possible code values.
public function get endCause():int
public static const CONNECTION_DROP:String = ConnectionDrop
Define the value of the type property of a ConnectionDrop event object.