Indicates whether the Channel that generated this event is already connected.
reconnecting
property
public var reconnecting:Boolean
Language Version :
ActionScript 3.0
Product Versions :
BlazeDS 4, LCDS 3
Runtime Versions :
Flash Player 9, AIR 1.1
Indicates whether the Channel that generated this event is reconnecting.
rejected
property
public var rejected:Boolean
Language Version :
ActionScript 3.0
Product Versions :
BlazeDS 4, LCDS 3
Runtime Versions :
Flash Player 9, AIR 1.1
Indicates whether the Channel that generated this event was rejected.
This would be true in the event that the channel has been
disconnected due to inactivity and should not attempt to failover or
connect on an alternate channel.
Returns a string representation of the ChannelEvent.
Returns
String — String representation of the ChannelEvent.
Constant Detail
CONNECT
Constant
public static const CONNECT:String = channelConnect
Language Version :
ActionScript 3.0
Product Versions :
BlazeDS 4, LCDS 3
Runtime Versions :
Flash Player 9, AIR 1.1
The CONNECT event type; indicates that the Channel connected to its
endpoint.
The value of this constant is "channelConnect".
The properties of the event object have the following values:
Property
Value
bubbles
false
cancelable
false
channel
The channel that generated this event.
currentTarget
The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget.
target
The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event.
reconnecting
Indicates whether the channel
that generated this event is reconnecting.
rejected
Indicates whether the channel that
generated this event was rejected. This would be true in the event that
the channel has been disconnected due to inactivity and should not attempt to
failover or connect on an alternate channel.
DISCONNECT
Constant
public static const DISCONNECT:String = channelDisconnect
Language Version :
ActionScript 3.0
Product Versions :
BlazeDS 4, LCDS 3
Runtime Versions :
Flash Player 9, AIR 1.1
The DISCONNECT event type; indicates that the Channel disconnected from its
endpoint.
The value of this constant is "channelDisconnect".
The properties of the event object have the following values:
Property
Value
bubbles
false
cancelable
false
channel
The channel that generated this event.
currentTarget
The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget.
target
The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event.
reconnecting
Indicates whether the channel
that generated this event is reconnecting.
rejected
Indicates whether the channel that
generated this event was rejected. This would be true in the event that
the channel has been disconnected due to inactivity and should not attempt to
failover or connect on an alternate channel.