Type Method 型メソッド

rootProxyForConnectionWithRegisteredName:host:usingNameServer:

Returns a proxy for the root object of the NSConnection object registered with server under name on a given host. servernameのもとある与えられたホスト上で登録されるNSConnectionオブジェクトのルートオブジェクトに対するプロキシを返します。

Declaration 宣言

+ (NSDistantObject *)rootProxyForConnectionWithRegisteredName:(NSString *)name 
                                                         host:(NSString *)hostName 
                                              usingNameServer:(NSPortNameServer *)server;

Parameters パラメータ

name

The name of an NSConnection object . NSConnectionオブジェクトの名前。

hostName

A host name. ホスト名。

server

The server. サーバ。

Return Value 戻り値

A proxy for the root object of the NSConnection object registered with server under name on the host named hostName, or nil if that NSConnection object has no root object set. servernameのもとhostNameの名前のホスト上で登録されたNSConnectionオブジェクトのルートオブジェクトに対するプロキシ、またはnil、もしそのNSConnectionオブジェクトがまったくルートオブジェクトを設定されないならば。

Discussion 議論

See rootProxyForConnectionWithRegisteredName:host: for more information. rootProxyForConnectionWithRegisteredName:host:をさらなる情報のために見てください。

See Also 参照

Getting a Remote Object リモートオブジェクトを取得する