Samond Classes Library 1.2.2-RELEASE build 188
SCStreaming.h
Go to the documentation of this file.
1 //
2 // SCStreaming.h
3 // scl
4 //
5 // Created by Viacheslav Smolensky on 02.03.12.
6 // Copyright (c) 2007 - 2017 by Samond Development Corporation. All rights reserved.
7 //
8 
25 @class SCStream;
26 
42 @protocol SCStreaming
43 
44 #pragma mark -
45 #pragma mark Instance Properties
46 
55 @property (nonatomic, readonly, copy) NSString *className;
56 
57 #pragma mark -
58 #pragma mark Streams Support
59 
78 - (instancetype)initWithStream:(SCStream *)stream;
79 
94 - (instancetype)initWithFileStream:(NSString *)path;
95 
108 - (void)writeToStream:(SCStream *)stream;
109 
122 - (void)writeToFileStream:(NSString *)path;
123 
136 - (void)appendToFileStream:(NSString *)path;
137 
138 @end
Streams communications protocol.
Definition: SCStreaming.h:42
NSString * className
Definition: SCStreaming.h:55
Abstract parent class of the stream classes hierarchy.
Definition: SCStream.h:226