NSConnectionクラス
apple(mac)
解説
継承 | NSObject |
準拠 | NSObject (NSObject) |
フレームワーク | /System/Library/Frameworks/Foundation.framework |
使用可能 | Mac OS X v10.0以降,Macのみ |
定義 |
概要
適合するプロトコル
メソッド
Getting the Default Instance
+ defaultConnection Mac OS X 10.6で使用停止
Creating Instances
+ connectionWithReceivePort:sendPort
– initWithReceivePort:sendPort:
Running the Connection in a New Thread
– runInNewThread
– enableMultipleThreads
– multipleThreadsEnabled
– addRunLoop:
– removeRunLoop
Vending a Service
+ serviceConnectionWithName:rootObject:usingNameServer:
+ serviceConnectionWithName:rootObject:
– registerName
– registerName:withNameServer
– setRootObject
– rootObject
Getting a Remote Object
+ connectionWithRegisteredName:host
+ connectionWithRegisteredName:host:usingNameServer
– rootProxy
+ rootProxyForConnectionWithRegisteredName:host:
+ rootProxyForConnectionWithRegisteredName:host:usingNameServer:
– remoteObjects
– localObjects
Getting a Conversation
Getting All NSConnection Objects
Configuring Instances
– setRequestTimeout
– requestTimeout
– setReplyTimeout
– replyTimeout
– setIndependentConversationQueueing
– independentConversationQueueing
– addRequestMode:
– removeRequestMode
– requestModes
– invalidate
– isValid
Getting Ports
Getting Statistics
Setting the Delegate
– setDelegate
– delegate
authenticateComponents:withData
サブクラス化の注意
引数
参照
メソッド