Pakket | mx.messaging.events |
Klasse | public class ChannelEvent |
Overerving | ChannelEvent Event Object |
Subklassen | ChannelFaultEvent |
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
bubbles : Boolean [alleen-lezen]
Geeft aan of een gebeurtenis een terugkoppelgebeurtenis is. | Event | ||
cancelable : Boolean [alleen-lezen]
Geeft aan of het gedrag dat aan deze gebeurtenis is gekoppeld, kan worden voorkomen. | Event | ||
channel : Channel
The Channel that generated this event. | ChannelEvent | ||
connected : Boolean
Indicates whether the Channel that generated this event is already connected. | ChannelEvent | ||
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
currentTarget : Object [alleen-lezen]
Het object dat het gebeurtenisobject actief verwerkt met een gebeurtenislistener. | Event | ||
eventPhase : uint [alleen-lezen]
De huidige fase in de gebeurtenisstroom. | Event | ||
reconnecting : Boolean
Indicates whether the Channel that generated this event is reconnecting. | ChannelEvent | ||
rejected : Boolean
Indicates whether the Channel that generated this event was rejected. | ChannelEvent | ||
target : Object [alleen-lezen]
Doel van gebeurtenis. | Event | ||
type : String [alleen-lezen]
Het type gebeurtenis. | Event |
Methode | Gedefinieerd door | ||
---|---|---|---|
ChannelEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, channel:Channel = null, reconnecting:Boolean = false, rejected:Boolean = false, connected:Boolean = false)
Constructs an instance of this event with the specified type and Channel
instance. | ChannelEvent | ||
[overschrijven]
Clones the ChannelEvent. | ChannelEvent | ||
createEvent(type:String, channel:Channel = null, reconnecting:Boolean = false, rejected:Boolean = false, connected:Boolean = false):ChannelEvent [statisch]
Utility method to create a new ChannelEvent that doesn't bubble and
is not cancelable. | ChannelEvent | ||
Een hulpprogrammafunctie voor de implementatie van de methode toString() in aangepaste ActionScript 3.0-Event-klassen. | Event | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Controleert of de methode preventDefault() is aangeroepen voor de gebeurtenis. | Event | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Annuleert het standaardgedrag van een gebeurtenis wanneer dat gedrag kan worden geannuleerd. | Event | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Voorkomt het verwerken van gebeurtenislisteners in het huidige knooppunt en volgende knooppunten in de gebeurtenisstroom. | Event | ||
Voorkomt het verwerken van gebeurtenislisteners in knooppunten die volgen op het huidige knooppunt in de gebeurtenisstroom. | Event | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
[overschrijven]
Returns a string representation of the ChannelEvent. | ChannelEvent | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
Constante | Gedefinieerd door | ||
---|---|---|---|
CONNECT : String = "channelConnect" [statisch]
The CONNECT event type; indicates that the Channel connected to its
endpoint. | ChannelEvent | ||
DISCONNECT : String = "channelDisconnect" [statisch]
The DISCONNECT event type; indicates that the Channel disconnected from its
endpoint. | ChannelEvent |
channel | eigenschap |
public var channel:Channel
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The Channel that generated this event.
connected | eigenschap |
public var connected:Boolean
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Indicates whether the Channel that generated this event is already connected.
reconnecting | eigenschap |
public var reconnecting:Boolean
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Indicates whether the Channel that generated this event is reconnecting.
rejected | eigenschap |
public var rejected:Boolean
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | 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.
ChannelEvent | () | Constructor |
public function ChannelEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, channel:Channel = null, reconnecting:Boolean = false, rejected:Boolean = false, connected:Boolean = false)
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Constructs an instance of this event with the specified type and Channel instance.
Parameterstype:String — The ChannelEvent type.
| |
bubbles:Boolean (default = false ) — Specifies whether the event can bubble up the display
list hierarchy.
| |
cancelable:Boolean (default = false ) — Indicates whether the behavior associated with the
event can be prevented; used by the RPC subclasses.
| |
channel:Channel (default = null ) — The Channel generating the event.
| |
reconnecting:Boolean (default = false ) — Indicates whether the Channel is in the process of
reconnecting or not.
| |
rejected:Boolean (default = false ) — Indicates whether the Channel's connection has been rejected,
which suppresses automatic reconnection.
| |
connected:Boolean (default = false ) — Indicates whether the Channel that generated this event
is already connected.
|
clone | () | methode |
createEvent | () | methode |
public static function createEvent(type:String, channel:Channel = null, reconnecting:Boolean = false, rejected:Boolean = false, connected:Boolean = false):ChannelEvent
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Utility method to create a new ChannelEvent that doesn't bubble and is not cancelable.
Parameters
type:String — The ChannelEvent type.
| |
channel:Channel (default = null ) — The Channel generating the event.
| |
reconnecting:Boolean (default = false ) — Indicates whether the Channel is in the process of
reconnecting or not.
| |
rejected:Boolean (default = false ) — Indicates whether the Channel's connection has been rejected,
which suppresses automatic reconnection.
| |
connected:Boolean (default = false ) — Indicates whether the Channel that generated this event
is already connected.
|
ChannelEvent — New ChannelEvent.
|
toString | () | methode |
override public function toString():String
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns a string representation of the ChannelEvent.
Geretourneerde waardeString — String representation of the ChannelEvent.
|
CONNECT | Constante |
public static const CONNECT:String = "channelConnect"
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | 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 | Constante |
public static const DISCONNECT:String = "channelDisconnect"
Taalversie: | ActionScript 3.0 |
Productversies: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | 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. |
Wed Jun 13 2018, 11:42 AM Z