diff options
author | Brian Cully <bjc@kublai.com> | 2008-04-14 21:45:08 -0400 |
---|---|---|
committer | Brian Cully <github.20.shmit@spamgourmet.com> | 2008-04-14 21:45:08 -0400 |
commit | 17349a5e426dc7acf1216a3767a22f69974cbca0 (patch) | |
tree | 20029d02f07ab6257cccec36d34fb312f796e1d1 /Liaison/ServerManager.h | |
download | liaison-17349a5e426dc7acf1216a3767a22f69974cbca0.tar.gz liaison-17349a5e426dc7acf1216a3767a22f69974cbca0.zip |
Initial commit.
Diffstat (limited to 'Liaison/ServerManager.h')
-rw-r--r-- | Liaison/ServerManager.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Liaison/ServerManager.h b/Liaison/ServerManager.h new file mode 100644 index 0000000..1c4da97 --- /dev/null +++ b/Liaison/ServerManager.h @@ -0,0 +1,41 @@ +// +// ServerManager.h +// Liaison +// +// Created by Brian Cully on Sun Feb 16 2003. +// Copyright (c) 2003 Brian Cully. All rights reserved. +// + +@class DownloadStatusView; + +@interface ServerManager : NSObject +{ + NSFileHandle *theFile; + NSNetService *theService; + NSMutableData *theBuffer; + + LiFileStore *theFileStore; +} +- (id)initWithNetService: (NSNetService *)aService; + +- (void)startup; +- (void)shutdown; +@property (retain,getter=service) NSNetService *theService; +@property (retain,getter=buffer) NSMutableData *theBuffer; +@property (retain,getter=fileStore) LiFileStore *theFileStore; +@property (retain,getter=file) NSFileHandle *theFile; +@end + +@interface ServerManager (Accessors) +- (NSFileHandle *)file; +- (void)setFile: (NSFileHandle *)aFile; +- (NSNetService *)service; +- (void)setService: (NSNetService *)aService; +- (NSMutableData *)buffer; +- (void)setBuffer: (NSMutableData *)aBuffer; +- (LiFileStore *)fileStore; +- (void)setFileStore: (LiFileStore *)aFileStore; +@end + +@interface ServerManager (LiFileStore) <LiFileStoreDelegate> +@end
\ No newline at end of file |