Pakiet | mx.messaging.channels |
Klasa | public class RTMPChannel |
Dziedziczenie | RTMPChannel ![]() ![]() ![]() ![]() ![]() |
Podklasy | SecureRTMPChannel |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | 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.
Właściwości publiczne
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
![]() | authenticated : Boolean [tylko do odczytu]
Indicates if this channel is authenticated. | Channel | |
![]() | constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object | |
![]() | endpoint : String [tylko do odczytu]
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 [tylko do odczytu]
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 |
Właściwości chronione
Metody publiczne
Metoda | Zdefiniowane przez | ||
---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu. | 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 | |
![]() |
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń. | EventDispatcher | |
![]() |
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń. | EventDispatcher | |
![]() |
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | |
![]() |
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | |
![]() |
Sends a CommandMessage to the server to logout if the Channel is connected. | Channel | |
![]() |
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | |
![]() |
Usuwa detektor z obiektu EventDispatcher. | EventDispatcher | |
![]() |
Sets the credentials to the specified value. | Channel | |
![]() |
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | |
![]() |
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | |
![]() |
Zwraca ciąg reprezentujący określony obiekt. | Object | |
![]() |
Zwraca pierwotną wartość dla określonego obiektu. | Object | |
![]() |
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych. | EventDispatcher |
Metody chronione
Zdarzenia
Stałe chronione
Stała | Zdefiniowane przez |
---|
Tue Jun 12 2018, 12:06 PM Z