Paket | mx.messaging |
Sınıf | public class AdvancedChannelSet |
Miras Alma | AdvancedChannelSet ChannelSet EventDispatcher Object |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Varsayılan MXML Özelliğichannels
Özellik | Tanımlayan: | ||
---|---|---|---|
authenticated : Boolean [salt okunur]
Indicates whether the ChannelSet has an underlying Channel that successfully
authenticated with its endpoint. | ChannelSet | ||
channelIds : Array [salt okunur]
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 [salt okunur]
Indicates whether the ChannelSet is connected. | ChannelSet | ||
constructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru. | Object | ||
currentChannel : Channel [salt okunur]
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 [salt okunur]
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 |
Yöntem | Tanımlayan: | ||
---|---|---|---|
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
EventDispatcher nesnesi olan bir olay dinleyici nesnesini, dinleyicinin bir olayın bildirimini alması için kaydeder. | 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 | ||
Olay akışına bir olay gönderir. | EventDispatcher | ||
EventDispatcher nesnesinin belirli bir olay türü için kayıtlı dinleyicisi olup olmadığını kontrol eder. | EventDispatcher | ||
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir. | Object | ||
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir. | Object | ||
Authenticates the ChannelSet with the server using the provided credentials. | ChannelSet | ||
Logs the ChannelSet out from the server. | ChannelSet | ||
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir. | Object | ||
Removes a Channel from the ChannelSet. | ChannelSet | ||
EventDispatcher nesnesinden bir dinleyiciyi kaldırır. | 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 | ||
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar. | Object | ||
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür. | Object | ||
[geçersiz kıl]
Returns a String containing the ids of the Channels in the ChannelSet. | ChannelSet | ||
Belirtilen nesnenin temel değerini döndürür. | Object | ||
Bir olay dinleyicisinin bu EventDispatcher nesnesiyle mi, yoksa onun belirtilen olay türüne yönelik üst öğelerinden biriyle mi kayıtlı olduğunu kontrol eder. | EventDispatcher |
Sabit | Tanımlayan: | ||
---|---|---|---|
MAX_REPLY_FETCH_INTERVAL_MILLIS : int = 30000 [statik]
Constant value for the upper limit for fetch interval. | AdvancedChannelSet | ||
START : String = "start" [statik]
Special header value to instruct a client to start measuring it's rate. | AdvancedChannelSet | ||
STOP : String = "stop" [statik]
Special header value to instruct a client to stop measuring it's rate. | AdvancedChannelSet |
Sabit | Tanımlayan: | ||
---|---|---|---|
ADAPTIVE_FREQUENCY_DESTINATION : String = "_DSAF" [statik]
Special value of a destination using adaptive frequency. | AdvancedChannelSet |
reliableReconnectDuration | özellik |
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.
Atar
RangeError — If a negative value is assigned.
|
AdvancedChannelSet | () | Yapıcı |
public function AdvancedChannelSet(channelIds:Array = null, clusteredWithURLLoadBalancing:Boolean = false)
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | 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.
ParametrelerchannelIds: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 | Sabit |
protected static const ADAPTIVE_FREQUENCY_DESTINATION:String = "_DSAF"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Special value of a destination using adaptive frequency.
MAX_REPLY_FETCH_INTERVAL_MILLIS | Sabit |
public static const MAX_REPLY_FETCH_INTERVAL_MILLIS:int = 30000
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Constant value for the upper limit for fetch interval.
START | Sabit |
public static const START:String = "start"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Special header value to instruct a client to start measuring it's rate.
STOP | Sabit |
public static const STOP:String = "stop"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
Special header value to instruct a client to stop measuring it's rate.
Tue Jun 12 2018, 01:09 PM Z