Browse Subversion Repository
Annotation of /XspfManager/HMChannel.h
Parent Directory
| Revision Log
Revision 2 -
( hide annotations)
( download)
( as text)
Mon Nov 2 11:55:35 2009 UTC
(14 years, 5 months ago)
by masaki
File MIME type: text/x-chdr
File size: 521 byte(s)
Initial import.
| 1 |
masaki |
2 |
// |
| 2 |
|
|
// HMChannel.h |
| 3 |
|
|
// OldMacViewer |
| 4 |
|
|
// |
| 5 |
|
|
// Created by Hori,Masaki on Fri Sep 05 2003. |
| 6 |
|
|
// Copyright (c) 2003 __MyCompanyName__. All rights reserved. |
| 7 |
|
|
// |
| 8 |
|
|
|
| 9 |
|
|
#import <Foundation/Foundation.h> |
| 10 |
|
|
|
| 11 |
|
|
#import "HMWorkerProtocols.h" |
| 12 |
|
|
|
| 13 |
|
|
@class HMQueue; |
| 14 |
|
|
|
| 15 |
|
|
@interface HMChannel : NSObject <HMChannel> |
| 16 |
|
|
{ |
| 17 |
|
|
HMQueue* _queue; |
| 18 |
|
|
NSMutableArray* _workers; |
| 19 |
|
|
} |
| 20 |
|
|
|
| 21 |
|
|
-(id)initWithWorkerNum:(int)num; |
| 22 |
|
|
|
| 23 |
|
|
|
| 24 |
|
|
-(void)putRequest:(id <HMRequest>)aRequest; |
| 25 |
|
|
-(id <HMRequest>)takeRequest; |
| 26 |
|
|
-(void)terminateAll; |
| 27 |
|
|
-(void)terminateRequet:(id <HMRequest>)aRequest; |
| 28 |
|
|
|
| 29 |
|
|
@end |
|