Package | mx.messaging.channels |
Class | public class RTMPChannel |
Inheritance | RTMPChannel ![]() ![]() ![]() ![]() ![]() |
Subclasses | SecureRTMPChannel |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The RTMPChannel relies on network services native to Flash Player, and exposed to ActionScript by the NetConnection class. This Channel uses NetConnection exclusively.
Channels are created within the framework using the
ServerConfig.getChannel()
method. Channels can be constructed
directly and assigned to a ChannelSet if desired.
Channels represent a physical connection to a remote endpoint. Channels are shared across destinations by default. This means that a client targetting different destinations may use the same Channel to communicate with these destinations.
Public Properties
Property | Defined By | ||
---|---|---|---|
![]() | authenticated : Boolean [read-only]
Indicates if this channel is authenticated. | Channel | |
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
![]() | endpoint : String [read-only]
Provides access to the endpoint for this channel. | Channel | |
![]() | failoverURIs : Array
Provides access to the set of endpoint URIs that this channel can
attempt to failover to if the endpoint is clustered. | Channel | |
![]() | id : String
Provides access to the id of this channel. | Channel | |
![]() | reconnecting : Boolean [read-only]
Indicates whether this channel is in the process of reconnecting to an
alternate endpoint. | Channel | |
![]() | requestTimeout : int
Provides access to the default request timeout in seconds for the
channel. | Channel | |
![]() | uri : String
Provides access to the URI used to create the whole endpoint URI for this channel. | Channel |
Protected Properties
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 | |
![]() |
Subclasses should override this method to apply any settings that may be
necessary for an individual channel. | Channel | |
![]() |
Connects the ChannelSet to the Channel. | Channel | |
![]() |
Disconnects the ChannelSet from the Channel. | Channel | |
![]() |
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 | |
![]() |
Sends a CommandMessage to the server to logout if the Channel is connected. | Channel | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Removes a listener from the EventDispatcher object. | EventDispatcher | |
![]() |
Sets the credentials to the specified value. | Channel | |
![]() |
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 string representation of the specified object. | 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
Protected Constants
Constant | Defined By |
---|
Thu Dec 6 2018, 01:12 PM -08:00