Samond Classes Library 1.2.6-STABLE build 219
|
Streams communications protocol. More...
#import <SCStreaming.h>
Instance Properties | |
NSString * | className |
Streams Support | |
(instancetype) | - initWithStream: |
(instancetype) | - initWithFileStream: |
(void) | - writeToStream: |
(void) | - writeToFileStream: |
(void) | - appendToFileStream: |
Streams communications protocol.
Declares methods for communicate between classes and streams. Defined by the protocol methods support based operations such are writing class instances into the stream and reading and initializing class instances from the stream.
- (void) appendToFileStream: | (NSString *) | path |
Appends the class instance data into the file stream with the specified path.
path | - the path to the output file stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
Reimplemented in NSObject(SCObject).
- (instancetype) initWithFileStream: | (NSString *) | path |
Initializes the class instance using the data from the file stream with the specified path.
path | - the path to the source file stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
Reimplemented in NSObject(SCObject).
- (instancetype) initWithStream: | (SCStream *) | stream |
Initializes the class instance using the data from the specified stream.
stream | - the source stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
Reimplemented in NSObject(SCObject).
- (void) writeToFileStream: | (NSString *) | path |
Writes the class instance data into the file stream with the specified path.
path | - the path to the output file stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
Reimplemented in NSObject(SCObject).
- (void) writeToStream: | (SCStream *) | stream |
Writes the class instance data into the specified stream.
stream | - the output stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
Reimplemented in NSObject(SCObject).
|
readnonatomiccopy |
A name of the receiving instance class