This page was saved using jaction on 2006-09-04 8:33:55.
Address: http://flexdocs.kr/docs/flex2/langref/mx/messaging/channels/NetConnectionChannel.html
Title: mx.messaging.channels.NetConnectionChannel (Flex™ 2 레퍼런스 가이드)  •  Size: 47784
(Flex Data Services 전용)
Packagemx.messaging.channels
Classpublic class NetConnectionChannel
InheritanceNetConnectionChannel Inheritance PollingChannel Inheritance Channel Inheritance EventDispatcher Inheritance Object
SubclassesAMFChannel , RTMPChannel

이 NetConnectionChannel 는, 메시징용의 기본적인 NetConnection 지원(support)를 제공합니다. AMFChannel 와 RTMPChannel 는 어느쪽이나 이 클래스를 확장합니다.



Public property
 property정의
 InheritedchannelSets : Array
채널에 접속된 ChannelSet 에의 액세스를 제공합니다.
Channel
 Inheritedconnected : Boolean
이 채널이 리모트 행선지와의 접속을 확립해 있을지 어떨지를 나타냅니다.
Channel
 InheritedconnectTimeout : int
채널에 대한 접속 타임 아웃 시간 (초단위)에의 액세스를 제공합니다.
Channel
 Inheritedconstructor : Object
특정의 object 인스턴스의 클래스 object 또는 constructor    함수에의 참조입니다.
Object
 Inheritedendpoint : String
이 채널의 엔드 포인트에의 액세스를 제공합니다.
Channel
 InheritedfailoverURIs : Array
엔드 포인트가 클러스터화 되고 있는 경우에, 이 채널이 페이르오바를 시행할 수 있는 엔드 포인트 URI 세트에의 액세스를 제공합니다.
Channel
 Inheritedid : String
이 채널의 ID 에의 액세스를 제공합니다.
Channel
  netConnection : NetConnection
[read-only] 이 채널에 관련지을 수 있었던 NetConnection 에의 액세스를 제공합니다.
NetConnectionChannel
 Inheritedprotocol : String
채널이 사용하는 프로토콜에의 액세스를 제공합니다.
Channel
 Inheritedprototype : Object
[static] 클래스 또는 함수 object의 prototype object에의 참조입니다.
Object
 Inheritedreconnecting : Boolean
이 채널이 대체 엔드 포인트에의 재접속을 실행중일지 어떨지를 나타냅니다.
Channel
 InheritedrequestTimeout : int
채널에 대한 디폴트 요구 타임 아웃 (초단위)에의 액세스를 제공합니다.
Channel
 Inheriteduri : String
이 채널에 대한 엔드 포인트 URI 전체를 작성하는데 사용되는 URI 에의 액세스를 제공합니다.
Channel
Public Methods
 Methods정의
  NetConnectionChannel (id:String , uri:String )
새로운 NetConnectionChannel 인스턴스를 작성합니다.
NetConnectionChannel
 InheritedaddEventListener (type:String , listener:Function , useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
event listener objects를 EventDispatcher object에 등록해, listener가 이벤트의 통지를 받도록(듯이) 합니다.
EventDispatcher
 InheritedapplySettings (settings:XML ):void
개개의 채널에 필요한 설정을 적용하려면 항상, 서브 클래스에서 이 Methods를 재정의(override) 할 필요가 있습니다.
Channel
 Inheritedconnect (channelSet:ChannelSet ):void
ChannelSet 를 채널에 접속합니다.
Channel
 InheriteddisablePolling ():void
enablePolling()disablePolling() 가 불려 간 회수에 근거해 폴링을 무효로 합니다.
PollingChannel
 Inheriteddisconnect (channelSet:ChannelSet ):void
ChannelSet 를 채널로부터 절단 합니다.
Channel
 InheriteddispatchEvent (event:Event ):Boolean
이벤트를 event 플로우(flow)에 dispatch합니다.
EventDispatcher
 InheritedenablePolling ():void
enablePolling()disablePolling() 가 불려 간 회수에 근거해 폴링을 유효하게 합니다.
PollingChannel
 InheritedhasEventListener (type:String ):Boolean
EventDispatcher object에, 특정의 event 타입에 대해서 등록된 listener가 있을지 어떨지를 확인합니다.
EventDispatcher
 InheritedhasOwnProperty (name:String ):Boolean
object로 지정된 property가 정의되고 있는지 어떤지를 나타냅니다.
Object
 InheritedisPrototypeOf (theClass:Object ):Boolean
Object 클래스의 인스턴스가, Parameters로서 지정된 object의 prototype 체인내에 있을지 어떨지를 나타냅니다.
Object
 Inheritedlogout (agent:MessageAgent ):void
채널이 접속되고 있으면, CommandMessage 을 서버에 송신해 로그아웃 합니다.
Channel
 InheritedpropertyIsEnumerable (name:String ):Boolean
지정된 property가 존재해, 열거 가능한가 어떤가를 나타냅니다.
Object
 InheritedremoveEventListener (type:String , listener:Function , useCapture:Boolean = false):void
EventDispatcher object로부터 listener를 삭제합니다.
EventDispatcher
 Inheritedsend (agent:MessageAgent , message:IMessage ):void
지정된 메세지를 타겟의 행선지에 송신합니다.
Channel
 InheritedsetCredentials (credentials:String , agent:MessageAgent = null):void
자격 정보를 지정의 값으로 설정합니다.
Channel
 InheritedsetPropertyIsEnumerable (name:String , isEnum:Boolean = true):void
루프 처리에 대한 다이나믹 property의 가용성을 설정합니다.
Object
 InheritedtoString ():String
지정된 object의 string 표현을 돌려줍니다.
Object
 InheritedvalueOf ():Object
지정된 object의 원시적치를 돌려줍니다.
Object
 InheritedwillTrigger (type:String ):Boolean
지정된 event 타입에 대해, 이 EventDispatcher object 또는 그 조상에게 event listener가 등록되어 있는지 어떤지를 확인합니다.
EventDispatcher
Protected Methods
 Methods정의
 InheritedconnectFailed (event:ChannelFaultEvent ):void
실패한 내부 접속을 처리해, 채널의 FAULT 이벤트를 dispatch합니다.
Channel
 InheritedconnectSuccess ():void
성공한 내부 접속을 처리해, 채널의 CONNECT 이벤트를 dispatch합니다.
Channel
 InheritedconnectTimeoutHandler (event:TimerEvent ):void
ChannelFaultEvent 를 dispatch해 접속 타임 아웃을 처리합니다.
Channel
 InheriteddisconnectFailed (event:ChannelFaultEvent ):void
실패한 내부 절단을 처리해, 채널의 FAULT 이벤트를 dispatch합니다.
Channel
 InheriteddisconnectSuccess (rejected:Boolean = false):void
성공한 내부 절단을 처리해, 채널의 DISCONNECT 이벤트를 dispatch합니다.
Channel
 InheritedgetMessageResponder (agent:MessageAgent , message:IMessage ):MessageResponder
채널의 send() Methods에 적절한 MessageResponder 를 돌려줍니다.
Channel
 InheritedinternalConnect ():void
채널을 엔드 포인트에 접속합니다.
Channel
 InheritedinternalDisconnect (rejected:Boolean = false):void
채널을 엔드 포인트로부터 절단 합니다.
Channel
 InheritedinternalSend (messageResponder:MessageResponder ):void
채널을 통해서 메세지를 송신해, 응답을 응답 측에 전송 합니다.
Channel
이벤트
 이벤트일람정의
 InheritedchannelConnect 채널이 엔드 포인트로부터 절단 된 다음에 dispatch됩니다. Channel
 InheritedchannelDisconnect 채널이 엔드 포인트로부터 절단 된 다음에 dispatch됩니다. Channel
 InheritedchannelFault 채널에 장해가 발생한 후에 dispatch됩니다. Channel
 Inheritedmessage 채널이 엔드 포인트로부터 메세지를 수신했을 때에 dispatch됩니다. Channel
 InheritedpropertyChange 채널의 property가 변경되었을 때에 dispatch됩니다. Channel
property의 상세
netConnectionproperty
netConnection:NetConnection   [read-only]

이 채널에 관련지을 수 있었던 NetConnection 에의 액세스를 제공합니다.

Implements
    public function get netConnection():NetConnection
constructor    의 상세
NetConnectionChannel()constructor   
public 함수 NetConnectionChannel(id:String , uri:String )

새로운 NetConnectionChannel 인스턴스를 작성합니다.

기가 되는 NetConnection의 objectEncoding 은 디폴트로 ObjectEncoding.AMF3 으로 설정됩니다. 이것은, 채널의 netConnection property에 액세스 해, 수동으로 변경할 수가 있습니다. 글로벌인 NetConnection.defaultObjectEncoding 설정은, 이 채널에서는 사용되지 않습니다.

Parameters
id:String — 이 채널의 ID 입니다.
 
uri:String — 이 채널의 URI 입니다.






 

코멘트가 추가되었을 경우, 메일로 받기. | 코멘트 리포트

현재의 페이지: http://flexdocs.kr/docs/flex2/langref/mx/messaging/channels/NetConnectionChannel.html