(Preview)
Package | mx.messaging |
Class | public class AdvancedChannelSet |
Inheritance | AdvancedChannelSet ![]() ![]() ![]() |
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Default MXML Propertychannels
Public Properties
Property | Defined By | ||
---|---|---|---|
![]() | connected : Boolean [read-only]
Indicates whether the ChannelSet is connected. | ChannelSet | |
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
![]() | heartbeatInterval : int
The number of milliseconds between heartbeats sent to the remote
host while this ChannelSet is actively connected but idle. | 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 |
Public Methods
Method | Defined By | ||
---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | EventDispatcher | |
![]() |
Dispatches an event into the event flow. | EventDispatcher | |
![]() |
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | EventDispatcher | |
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Logs the ChannelSet out from the server. | ChannelSet | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Removes a listener from the EventDispatcher object. | EventDispatcher | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the primitive value of the specified object. | Object | |
![]() |
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type. | EventDispatcher |
Protected Methods
Public Constants
Constant | Defined By | ||
---|---|---|---|
MAX_REPLY_FETCH_INTERVAL_MILLIS : int = 30000 [static] | AdvancedChannelSet | ||
ONE_SECOND_MILLIS : int = 1000 [static] | AdvancedChannelSet | ||
RATE_SEPERATOR : String = "_;_" [static] | AdvancedChannelSet | ||
START : String = "start" [static] | AdvancedChannelSet | ||
STOP : String = "stop" [static] | AdvancedChannelSet |
Protected Constants
Constant | Defined By | ||
---|---|---|---|
ADAPTIVE_FREQUENCY_DESTINATION : String = "_DSAF" [static] | AdvancedChannelSet |
Property Detail
reliableReconnectDuration | property |
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.
Throws
RangeError — If a negative value is assigned.
|
Constructor Detail
Constant Detail
ADAPTIVE_FREQUENCY_DESTINATION | Constant |
protected static const ADAPTIVE_FREQUENCY_DESTINATION:String = "_DSAF"
MAX_REPLY_FETCH_INTERVAL_MILLIS | Constant |
public static const MAX_REPLY_FETCH_INTERVAL_MILLIS:int = 30000
ONE_SECOND_MILLIS | Constant |
public static const ONE_SECOND_MILLIS:int = 1000
RATE_SEPERATOR | Constant |
public static const RATE_SEPERATOR:String = "_;_"
START | Constant |
public static const START:String = "start"
STOP | Constant |
public static const STOP:String = "stop"
Wed Nov 21 2018, 06:34 AM -08:00