|
Samond Classes Library 1.1.6-RELEASE build 132
|
Protocol SCStreamDelegate implementation class. More...
#import <SCStreamDelegateObject.h>
Protocol SCStreamDelegate implementation class.
Class implements the protocol SCStreamDelegate.
Class was introduced in version 1.1.3.
| - (void) didFinishClosingStream: | (SCStream *) | stream |
Tells the delegate that the stream finished the closing.
| stream | - stream instance |
Reimplemented from <SCStreamDelegate>.
| - (void) didFinishOpeningStream: | (SCStream *) | stream |
Tells the delegate that the stream finished the opening operation.
| stream | - stream instance |
Reimplemented from <SCStreamDelegate>.
| - (void) didFinishRewindingStream: | (SCFileStream *) | stream |
Tells the delegate that the stream is finished the rewind operation.
| stream | - stream instance |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| didDetectError: | (SCStreamStatus) | error | |
Tells the delegate that the stream detects the error.
| stream | - stream instance |
| error | - detected error code |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| didFinishOpeningWithPath: | (NSString *) | path | |
| mode: | (SCFileStreamOpenMode) | mode | |
| successfully: | (BOOL) | successfully | |
Tells the delegate that the stream finishes the opening with the specified path and mode.
| stream | - stream instance |
| path | - stream path |
| mode | - stream mode |
| successfully | - YES if opening is successfully, otherwise NO |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| didFinishReadingBytes: | (SCUSize) | bytes | |
| toBuffer: | (void *) | buffer | |
Tells the delegate that the stream finishes the reading bytes into the buffer.
| stream | - stream instance |
| bytes | - count of actually readed bytes |
| buffer | - pointer to the received data buffer |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| didFinishReadingObject: | (id<SCStreamProtocol>) | object | |
Tells the delegate that the stream finishes reading class instance.
| stream | - stream instance |
| object | - readed object |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| didFinishReadingString: | (NSString *) | string | |
Tells the delegate that the stream finishes the string reading.
| stream | - stream instance |
| string | - readed string |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| didFinishReadingString: | (NSString *) | string | |
| encoding: | (NSStringEncoding) | encoding | |
| max: | (SCUInteger) | max | |
Tells the delegate that the stream is finished reading the string using the encoding and maximum size.
| stream | - stream instance |
| string | - readed string |
| encoding | - string encoding |
| max | - maximum length |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCFileStream *) | stream | |
| didFinishSettingOffset: | (SCLong) | offset | |
| whence: | (SCFileStreamOffsetWhence) | whence | |
Tells the delegate that the stream is finished the offset operation.
| stream | - stream instance |
| offset | - stream offset |
| whence | - offset whence |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| didFinishWritingBytes: | (SCUSize) | bytes | |
| fromBuffer: | (const void *) | buffer | |
Tells the delegate that the stream finishes the writing bytes from the buffer.
| stream | - stream instance |
| bytes | - count of actually writed bytes |
| buffer | - pointer to the sended data buffer |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| didFinishWritingObject: | (id<SCStreamProtocol>) | object | |
Tells the delegate that the stream finishes writing the class instance.
| stream | - stream instance |
| object | - writed object |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| didFinishWritingString: | (NSString *) | string | |
| encoding: | (NSStringEncoding) | encoding | |
Tells the delegate that the stream finishes the string writing.
| stream | - stream instance |
| string | - writed string |
| encoding | - string encoding |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| willOpenWithPath: | (NSString *) | path | |
| mode: | (SCFileStreamOpenMode) | mode | |
Tells the delegate that the stream is about to open using the specified path and mode.
| stream | - stream instance |
| path | - stream path |
| mode | - stream mode |
Reimplemented from <SCStreamDelegate>.
Tells the delegate that the stream is about to read bytes into the buffer.
| stream | - stream instance |
| bytes | - count of bytes for reading from the stream |
| buffer | - pointer to the receiving data buffer |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| willReadStringWithEncoding: | (NSStringEncoding) | encoding | |
| max: | (SCUInteger) | max | |
Tells the delegate that the stream is about to read the string using the specified encoding and maximum length.
| stream | - stream instance |
| encoding | - string encoding |
| max | - maximum length |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCFileStream *) | stream | |
| willSetOffset: | (SCLong) | offset | |
| whence: | (SCFileStreamOffsetWhence) | whence | |
Tells the delegate that the stream is about to change offset.
| stream | - stream instance |
| offset | - stream offset |
| whence | - offset whence |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| willWriteBytes: | (SCUSize) | bytes | |
| fromBuffer: | (const void *) | buffer | |
Tells the delegate that the stream is about to write bytes from the buffer.
| stream | - stream instance |
| bytes | - count of bytes for writing to the stream |
| buffer | - pointer to the sending data buffer |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| willWriteObject: | (id<SCStreamProtocol>) | object | |
Tells the delegate that the stream is about to write object.
| stream | - stream instance |
| object | - writed object |
Reimplemented from <SCStreamDelegate>.
| - (void) stream: | (SCStream *) | stream | |
| willWriteString: | (NSString *) | string | |
| encoding: | (NSStringEncoding) | encoding | |
Tells the delegate that the stream is about to write the string.
| stream | - stream instance |
| string | - writed string |
| encoding | - string encoding |
Reimplemented from <SCStreamDelegate>.
| - (void) willCloseStream: | (SCStream *) | stream |
Tells the delegate that the stream is about to close.
| stream | - stream instance |
Reimplemented from <SCStreamDelegate>.
| - (void) willReadObjectFromStream: | (SCStream *) | stream |
Tells the delegate that the stream is about to read object.
| stream | - stream instance |
Reimplemented from <SCStreamDelegate>.
| - (void) willReadStringFromStream: | (SCStream *) | stream |
Tells the delegate that the stream is about to read the string.
| stream | - stream instance |
Reimplemented from <SCStreamDelegate>.
| - (void) willRewindStream: | (SCFileStream *) | stream |
Tells the delegate that the stream is about to rewind.
| stream | - stream instance |
Reimplemented from <SCStreamDelegate>.
1.7.3