Pakket | mx.messaging |
Klasse | public class AdvancedChannelSet |
Overerving | AdvancedChannelSet ChannelSet EventDispatcher Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Standaard-MXML-eigenschapchannels
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
authenticated : Boolean [alleen-lezen]
Indicates whether the ChannelSet has an underlying Channel that successfully
authenticated with its endpoint. | ChannelSet | ||
channelIds : Array [alleen-lezen]
The ids of the Channels used by the ChannelSet. | ChannelSet | ||
channels : Array
Provides access to the Channels in the ChannelSet. | ChannelSet | ||
clustered : Boolean
Indicates whether the ChannelSet targets a clustered destination. | ChannelSet | ||
connected : Boolean [alleen-lezen]
Indicates whether the ChannelSet is connected. | ChannelSet | ||
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
currentChannel : Channel [alleen-lezen]
Returns the current Channel for the ChannelSet. | ChannelSet | ||
heartbeatInterval : int
The number of milliseconds between heartbeats sent to the remote
host while this ChannelSet is actively connected but idle. | ChannelSet | ||
initialDestinationId : String
Provides access to the initial destination this ChannelSet is used to access. | ChannelSet | ||
messageAgents : Array [alleen-lezen]
Provides access to the set of MessageAgents that use this ChannelSet. | ChannelSet | ||
reliableReconnectDuration : int
The duration in milliseconds that channels within the AdvancedChannelSet will
attempt to reconnect in a reliable fashion to the remote endpoint they
where previous connected to, before advancing to the normal automatic
failover and protocol fallback algorithm. | AdvancedChannelSet |
Methode | Gedefinieerd door | ||
---|---|---|---|
Constructs an AdvancedChannelSet. | AdvancedChannelSet | ||
Adds a Channel to the ChannelSet. | ChannelSet | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registreert een gebeurtenislistenerobject bij een object EventDispatcher, zodat de listener een melding van een gebeurtenis ontvangt. | EventDispatcher | ||
Handles a CONNECT ChannelEvent and redispatches the event. | ChannelSet | ||
Handles a DISCONNECT ChannelEvent and redispatches the event. | ChannelSet | ||
Handles a ChannelFaultEvent and redispatches the event. | ChannelSet | ||
Connects a MessageAgent to the ChannelSet. | ChannelSet | ||
Disconnects a specific MessageAgent from the ChannelSet. | ChannelSet | ||
Disconnects all associated MessageAgents and disconnects any underlying Channel that
is connected. | ChannelSet | ||
Verzendt een gebeurtenis naar de gebeurtenisstroom. | EventDispatcher | ||
Controleert of het object EventDispatcher listeners heeft geregistreerd voor een specifiek type gebeurtenis. | EventDispatcher | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Authenticates the ChannelSet with the server using the provided credentials. | ChannelSet | ||
Logs the ChannelSet out from the server. | ChannelSet | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Removes a Channel from the ChannelSet. | ChannelSet | ||
Verwijdert een listener uit het object EventDispatcher. | EventDispatcher | ||
Sends a message from a MessageAgent over the currently connected Channel. | ChannelSet | ||
Stores the credentials and passes them through to every connected channel. | ChannelSet | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
[overschrijven]
Returns a String containing the ids of the Channels in the ChannelSet. | ChannelSet | ||
Retourneert de primitieve waarde van het opgegeven object. | Object | ||
Controleert of een gebeurtenislistener is geregistreerd bij dit object EventDispatcher of een van de voorouders voor het opgegeven type gebeurtenis. | EventDispatcher |
Constante | Gedefinieerd door | ||
---|---|---|---|
MAX_REPLY_FETCH_INTERVAL_MILLIS : int = 30000 [statisch]
Constant value for the upper limit for fetch interval. | AdvancedChannelSet | ||
START : String = "start" [statisch]
Special header value to instruct a client to start measuring it's rate. | AdvancedChannelSet | ||
STOP : String = "stop" [statisch]
Special header value to instruct a client to stop measuring it's rate. | AdvancedChannelSet |
Constante | Gedefinieerd door | ||
---|---|---|---|
ADAPTIVE_FREQUENCY_DESTINATION : String = "_DSAF" [statisch]
Special value of a destination using adaptive frequency. | AdvancedChannelSet |
reliableReconnectDuration | eigenschap |
public var reliableReconnectDuration:int
The duration in milliseconds that channels within the AdvancedChannelSet will attempt to reconnect in a reliable fashion to the remote endpoint they where previous connected to, before advancing to the normal automatic failover and protocol fallback algorithm. The default value, 0, triggers a single reliable reconnect attempt. Assigned values must be 0 or greater and for any value larger than 0, in the event of a network disconnect, attempts will be made to re-establish the pre-existing reliable connection for the specified time duration in milliseconds.
Gegenereerde uitzondering
RangeError — If a negative value is assigned.
|
AdvancedChannelSet | () | Constructor |
public function AdvancedChannelSet(channelIds:Array = null, clusteredWithURLLoadBalancing:Boolean = false)
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Constructs an AdvancedChannelSet.
If the channelIds
argument is provided, the AdvancedChannelSet will
use automatically configured Channels obtained via ServerConfig.getChannel()
to reach a destination.
Attempting to manually assign Channels to an AdvancedChannelSet that uses configured
Channels is not allowed.
If the channelIds
argument is not provided or is null,
Channels must be manually created and added to the AdvancedChannelSet in order
to connect and send messages.
If the AdvancedChannelSet is clustered using url-load-balancing (where each server declares a unique RTMP or HTTP URL and the client fails over from one URL to the next), the first time that a Channel in the ChannelSet successfully connects the AdvancedChannelSet will automatically make a request for all of the endpoints across the cluster for all member Channels and will assign these failover URLs to each respective Channel. This allows Channels in the ChannelSet to failover individually, and when failover options for a specific Channel are exhausted the AdvancedChannelSet will advance to the next Channel in the set to attempt to reconnect.
Regardless of clustering, if a Channel cannot connect or looses connectivity, the AdvancedChannelSet will advance to its next available Channel and attempt to reconnect. This allows the AdvancedChannelSet to hunt through Channels that use different protocols, ports, etc., in search of one that can connect to its endpoint successfully.
ParameterschannelIds:Array (default = null ) — The ids of configured Channels obtained from ServerConfig for this AdvancedChannelSet to
use. If null, Channels must be manually added to the AdvancedChannelSet.
| |
clusteredWithURLLoadBalancing:Boolean (default = false ) — True if the Channels in the AdvancedChannelSet are clustered
using url load balancing.
|
ADAPTIVE_FREQUENCY_DESTINATION | Constante |
protected static const ADAPTIVE_FREQUENCY_DESTINATION:String = "_DSAF"
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Special value of a destination using adaptive frequency.
MAX_REPLY_FETCH_INTERVAL_MILLIS | Constante |
public static const MAX_REPLY_FETCH_INTERVAL_MILLIS:int = 30000
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Constant value for the upper limit for fetch interval.
START | Constante |
public static const START:String = "start"
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Special header value to instruct a client to start measuring it's rate.
STOP | Constante |
public static const STOP:String = "stop"
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Special header value to instruct a client to stop measuring it's rate.
Wed Jun 13 2018, 11:42 AM Z