Networking/MixiReporter.h
説明を見る。
00001 
00009 #import <Foundation/Foundation.h>
00010 #import "MixiDelegate.h"
00011 
00012 @class Mixi;
00013 
00014 
00018 @interface MixiReporter : NSObject <MixiDelegate> {
00019 @private
00020     
00022     NSString *endpoint_;
00023 
00025     int delay_;
00026     
00032     int maxRetryCount_;
00033     
00035     int retryCount_;
00036     
00038     NSURLConnection *connection_;
00039     
00041     NSDate *successDate_;
00042 }
00043 
00044 @property (nonatomic, copy) NSString *endpoint;
00045 @property (nonatomic, assign) int maxRetryCount;
00046 @property (nonatomic, assign) int retry;
00047 @property (nonatomic, retain) NSURLConnection *connection;
00048 @property (nonatomic, retain) NSDate *successDate;
00049 
00055 + (id)pingReporter;
00056 
00062 + (id)mapReporter;
00063 
00070 - (id)initWithEndpoint:(NSString*)endpoint;
00071 
00075 - (void)setRetryNever;
00076 
00080 - (void)setRetryForever;
00081 
00085 - (void)ping;
00086 
00090 - (void)pingIfNeededWithMixi:(Mixi*)mixi;
00091 
00097 - (void)pingWithMixi:(Mixi*)mixi;
00098 
00102 - (void)cancel;
00103 
00104 @end
 全て クラス ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義