FileHandle.ConnectionAcceptedMessage
A message a file handle sends when it creates a socket connection between two processes and creates a file handle for one end of the connection.
Declaration
struct ConnectionAcceptedMessageOverview
Before adding an observer for this message type, call either acceptConnectionInBackgroundAndNotify() or acceptConnectionInBackgroundAndNotify(forModes:) on a FileHandle object that represents a server stream-type socket.
Observe this message with the identifier connectionAccepted, or specify its type directly to the addObserver(of:for:using:) method. The Subject of this message type is FileHandle.
This message interoperates with the notification NSFileHandleConnectionAccepted. The system notifies observers of the message when the NotificationCenter posts the notification. Similarly, the system notifies observers of the notification when it posts the message.