Samond Classes Library 1.2.6-STABLE build 219
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 - 2018 by Samond Development Corporation. All rights reserved.
7 //
8 
24 #import <Foundation/Foundation.h>
25 
26 @class SCStream;
27 
43 @protocol SCStreaming
44 
45 #pragma mark -
46 #pragma mark Instance Properties
47 
56 @property (nonatomic, readonly, copy) NSString *className;
57 
58 #pragma mark -
59 #pragma mark Streams Support
60 
79 - (instancetype)initWithStream:(SCStream *)stream;
80 
95 - (instancetype)initWithFileStream:(NSString *)path;
96 
109 - (void)writeToStream:(SCStream *)stream;
110 
123 - (void)writeToFileStream:(NSString *)path;
124 
137 - (void)appendToFileStream:(NSString *)path;
138 
139 @end
Streams communications protocol.
Definition: SCStreaming.h:43
NSString * className
Definition: SCStreaming.h:56
Abstract parent class of the stream classes hierarchy.
Definition: SCStream.h:224