summaryrefslogtreecommitdiffstats
path: root/Liaison/ClientManager.h
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2008-04-14 21:45:08 -0400
committerBrian Cully <github.20.shmit@spamgourmet.com>2008-04-14 21:45:08 -0400
commit17349a5e426dc7acf1216a3767a22f69974cbca0 (patch)
tree20029d02f07ab6257cccec36d34fb312f796e1d1 /Liaison/ClientManager.h
downloadliaison-17349a5e426dc7acf1216a3767a22f69974cbca0.tar.gz
liaison-17349a5e426dc7acf1216a3767a22f69974cbca0.zip
Initial commit.
Diffstat (limited to 'Liaison/ClientManager.h')
-rw-r--r--Liaison/ClientManager.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/Liaison/ClientManager.h b/Liaison/ClientManager.h
new file mode 100644
index 0000000..206c3a5
--- /dev/null
+++ b/Liaison/ClientManager.h
@@ -0,0 +1,43 @@
+//
+// ClientManager.h
+// Liaison
+//
+// Created by Brian Cully on Sun Feb 16 2003.
+// Copyright (c) 2003 Brian Cully. All rights reserved.
+//
+
+@interface ClientManager : NSObject {
+ LiFileStore *theFileStore;
+ NSFileHandle *theFile;
+ NSString *theHostname;
+
+ NSFileHandle *theCopyFile;
+
+ NSMutableData *theBuffer;
+}
+
+- (id)initWithFile: (NSFileHandle *)aFile
+ andFileStore: (LiFileStore *)aFileStore;
+
+- (void)startup;
+- (void)shutdown;
+- (void)sendHostname;
+@property (retain,getter=copyFile) NSFileHandle *theCopyFile;
+@property (retain,getter=buffer) NSMutableData *theBuffer;
+@property (retain,getter=fileStore) LiFileStore *theFileStore;
+@property (retain,getter=file) NSFileHandle *theFile;
+@property (retain,getter=hostname) NSString *theHostname;
+@end
+
+@interface ClientManager (Accessors)
+- (NSMutableData *)buffer;
+- (void)setBuffer: (NSMutableData *)aBuffer;
+- (NSFileHandle *)copyFile;
+- (void)setCopyFile: (NSFileHandle *)aFile;
+- (NSFileHandle *)file;
+- (void)setFile: (NSFileHandle *)aFile;
+- (NSString *)hostname;
+- (void)setHostname: (NSString *)aHostname;
+- (LiFileStore *)fileStore;
+- (void)setFileStore: (LiFileStore *)aFileStore;
+@end