Global Variable グローバル変数

NSFileHandleConnectionAcceptedNotification

Posted when a file handle object establishes a socket connection between two processes, creates a file handle object for one end of the connection, and makes this object available to observers.

Declaration 宣言

const NSNotificationName NSFileHandleConnectionAcceptedNotification;

Discussion 議論

To cause the posting of this notification, you must send either acceptConnectionInBackgroundAndNotify or acceptConnectionInBackgroundAndNotifyForModes: to an NSFileHandle object representing a server stream-type socket. この通知を投函することを引き起こすには、あなたはacceptConnectionInBackgroundAndNotifyまたはacceptConnectionInBackgroundAndNotifyForModes:のどちらかをサーバーストリーム型ソケットを表しているNSFileHandleオブジェクトに送る必要があります。

The notification object is the NSFileHandle object that sent the notification. The userInfo dictionary contains the following information: 通知オブジェクトは、通知を送ったNSFileHandleオブジェクトです。userInfo辞書は、以下の情報を含みます:

Key

Value

NSFileHandleNotificationFileHandleItem

The NSFileHandle object representing the “near” end of a socket connection.

@"NSFileHandleError"

An NSNumber object containing an integer representing the UNIX-type error which occurred.

See Also 参照

Notifications 通知