패키지 | mx.messaging.channels |
클래스 | public class RTMPChannel |
상속 | RTMPChannel NetConnectionChannel PollingChannel Channel EventDispatcher Object |
하위 클래스 | SecureRTMPChannel |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
속성 | 정의 주체 | ||
---|---|---|---|
authenticated : Boolean [읽기 전용]
Indicates if this channel is authenticated. | Channel | ||
channelSets : Array [읽기 전용]
Provides access to the ChannelSets connected to the Channel. | Channel | ||
connected : Boolean [읽기 전용]
Indicates whether this channel has established a connection to the
remote destination. | Channel | ||
connectTimeout : int
Provides access to the connect timeout in seconds for the channel. | Channel | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
endpoint : String [읽기 전용]
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 | ||
netConnection : NetConnection [읽기 전용]
Provides access to the associated NetConnection for this Channel. | NetConnectionChannel | ||
protocol : String [재정의] [읽기 전용]
Returns the protocol for this channel (rtmp or rtmpt). | RTMPChannel | ||
reconnecting : Boolean [읽기 전용]
Indicates whether this channel is in the process of reconnecting to an
alternate endpoint. | Channel | ||
recordMessageSizes : Boolean [읽기 전용]
Channel property determines the level of performance information injection - whether
we inject message sizes or not. | Channel | ||
recordMessageTimes : Boolean [읽기 전용]
Channel property determines the level of performance information injection - whether
we inject timestamps or not. | 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 |
메서드 | 정의 주체 | ||
---|---|---|---|
Creates an new RTMPChannel instance. | RTMPChannel | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다. | 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 | ||
Disables polling based on the number of times enablePolling()
and disablePolling() have been invoked. | PollingChannel | ||
Disconnects the ChannelSet from the Channel. | Channel | ||
이벤트를 이벤트 흐름으로 전달합니다. | EventDispatcher | ||
Enables polling based on the number of times enablePolling()
and disablePolling() have been invoked. | PollingChannel | ||
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
Sends a CommandMessage to the server to logout if the Channel is connected. | Channel | ||
[재정의]
Do nothing if the client requests that we poll. | RTMPChannel | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
EventDispatcher 객체에서 리스너를 제거합니다. | EventDispatcher | ||
[재정의]
Sends the specified message to its target destination. | PollingChannel | ||
Sets the credentials to the specified value. | Channel | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object | ||
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher |
상수 | 정의 주체 | ||
---|---|---|---|
CODE_CONNECT_CLOSED : String = "Connect.Closed" [정적]
Status code for connection closed. | RTMPChannel | ||
CODE_CONNECT_FAILED : String = "Connect.Failed" [정적]
Status code for connection failed. | RTMPChannel | ||
CODE_CONNECT_NETWORKCHANGE : String = "Connect.NetworkChange" [정적]
Status code for connection network change. | RTMPChannel | ||
CODE_CONNECT_REJECTED : String = "Connect.Rejected" [정적]
Status code for connection rejected. | RTMPChannel | ||
CODE_CONNECT_SUCCESS : String = "Connect.Success" [정적]
Status code for connection success. | RTMPChannel |
protocol | 속성 |
RTMPChannel | () | 생성자 |
public function RTMPChannel(id:String = null, uri:String = null)
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Creates an new RTMPChannel instance.
매개 변수id:String (default = null ) — The id of this channel
| |
uri:String (default = null ) — The uri for this channel
|
poll | () | 메서드 |
override public function poll():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Do nothing if the client requests that we poll.
CODE_CONNECT_CLOSED | 상수 |
protected static const CODE_CONNECT_CLOSED:String = "Connect.Closed"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Status code for connection closed.
CODE_CONNECT_FAILED | 상수 |
protected static const CODE_CONNECT_FAILED:String = "Connect.Failed"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Status code for connection failed.
CODE_CONNECT_NETWORKCHANGE | 상수 |
protected static const CODE_CONNECT_NETWORKCHANGE:String = "Connect.NetworkChange"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Status code for connection network change.
CODE_CONNECT_REJECTED | 상수 |
protected static const CODE_CONNECT_REJECTED:String = "Connect.Rejected"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Status code for connection rejected.
CODE_CONNECT_SUCCESS | 상수 |
protected static const CODE_CONNECT_SUCCESS:String = "Connect.Success"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Status code for connection success.
Tue Jun 12 2018, 03:17 PM Z