blob: 206c3a5a66aaa06a3d783b9de42ff375b0553761 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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
|