NSStreamDelegate Protocol Reference
Available in iOS 4.0 and later.
NSStreamDelegate protocol defines the optional methods implemented by delegates of
The delegate receives this message when a given event has occurred on a given stream.
The stream on which streamEvent occurred.
The stream event that occurred.
The delegate receives this message only if theStream is scheduled on a run loop. The message is sent on the stream object’s thread. The delegate should examine streamEvent to determine the appropriate action it should take.
- Available in iOS 2.0 and later.
- Available as part of an informal protocol prior to iOS 4.0.