Browse Subversion Repository
Annotation of /XspfManager/XspfMThreadSleepRequest.m
Parent Directory
| Revision Log
| 1 |
masaki |
169 |
// |
| 2 |
|
|
// XspfMThreadSpleepRequest.m |
| 3 |
|
|
// XspfManager |
| 4 |
|
|
// |
| 5 |
|
|
// Created by Hori,Masaki on 09/12/20. |
| 6 |
|
|
// Copyright 2009 masakih. All rights reserved. |
| 7 |
|
|
// |
| 8 |
|
|
|
| 9 |
|
|
#import "XspfMThreadSpleepRequest.h" |
| 10 |
|
|
|
| 11 |
|
|
|
| 12 |
|
|
@implementation XspfMThreadSpleepRequest |
| 13 |
|
|
+ (id)requestWithSleepTime:(NSTimeInterval)time |
| 14 |
|
|
{ |
| 15 |
|
|
return [[[self alloc] initWithSleepTime:time] autorelease]; |
| 16 |
|
|
} |
| 17 |
|
|
- (id)initWithSleepTime:(NSTimeInterval)time |
| 18 |
|
|
{ |
| 19 |
|
|
[super init]; |
| 20 |
|
|
sleepTime = time; |
| 21 |
|
|
return self; |
| 22 |
|
|
} |
| 23 |
|
|
- (void)fire {} |
| 24 |
|
|
|
| 25 |
|
|
- (NSTimeInterval)sleepTime {return sleepTime;} |
| 26 |
|
|
|
| 27 |
|
|
@end |
|