PageRenderTime 54ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/ProtocolBuffer.framework/Headers/PBRequester.h

https://github.com/kokoabim/iOSOpenDev-Framework-Header-Files
C Header | 130 lines | 95 code | 3 blank | 32 comment | 0 complexity | 38dcae2056a0c679729a7efa3e89fff4 MD5 | raw file
Possible License(s): GPL-2.0
  1. /**
  2. * This header is generated by class-dump-z 0.2b.
  3. *
  4. * Source: /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer
  5. */
  6. #import <ProtocolBuffer/NSURLConnectionDelegate.h>
  7. #import <ProtocolBuffer/ProtocolBuffer-Structs.h>
  8. #import <ProtocolBuffer/XXUnknownSuperclass.h>
  9. @class NSMutableData, NSURL, NSURLConnection, NSMutableArray, NSDictionary, NSMutableDictionary, NSString, NSArray, PBDataReader;
  10. @protocol PBRequesterDelegate;
  11. @interface PBRequester : XXUnknownSuperclass <NSURLConnectionDelegate> {
  12. NSURL *_URL; // 4 = 0x4
  13. id<PBRequesterDelegate> _delegate; // 8 = 0x8
  14. NSURLConnection *_connection; // 12 = 0xc
  15. NSMutableData *_data; // 16 = 0x10
  16. PBDataReader *_dataReader; // 20 = 0x14
  17. unsigned _lastGoodDataOffset; // 24 = 0x18
  18. unsigned _uploadPayloadSize; // 28 = 0x1c
  19. int _responseStatusCode; // 32 = 0x20
  20. NSMutableArray *_requests; // 36 = 0x24
  21. NSMutableArray *_responses; // 40 = 0x28
  22. NSMutableArray *_internalRequests; // 44 = 0x2c
  23. NSMutableArray *_internalResponses; // 48 = 0x30
  24. NSDictionary *_httpResponseHeaders; // 52 = 0x34
  25. NSMutableDictionary *_httpRequestHeaders; // 56 = 0x38
  26. double _timeoutSeconds; // 60 = 0x3c
  27. CFRunLoopTimerRef _timeoutTimer; // 68 = 0x44
  28. NSString *_logRequestToFile; // 72 = 0x48
  29. NSString *_logResponseToFile; // 76 = 0x4c
  30. NSArray *_clientCertificates; // 80 = 0x50
  31. BOOL _shouldHandleCookies; // 84 = 0x54
  32. struct {
  33. unsigned ignoresResponse : 1;
  34. unsigned loading : 1;
  35. unsigned needsCancel : 1;
  36. unsigned responseStatusSet : 1;
  37. unsigned parsedResponseHeader : 1;
  38. unsigned delegateDidReceiveResponse : 1;
  39. unsigned delegateDidFinish : 1;
  40. unsigned delegateDidCancel : 1;
  41. unsigned delegateDidFailWithError : 1;
  42. unsigned paused : 1;
  43. unsigned resuming : 1;
  44. } _flags; // 85 = 0x55
  45. }
  46. @property(assign) BOOL needsCancel; // G=0x21fd; S=0x2211;
  47. @property(assign, nonatomic) BOOL shouldHandleCookies; // G=0x4559; S=0x4569; @synthesize=_shouldHandleCookies
  48. @property(retain, nonatomic) NSDictionary *httpResponseHeaders; // G=0x444d; S=0x445d; @synthesize=_httpResponseHeaders
  49. @property(copy, nonatomic) NSDictionary *httpRequestHeaders; // G=0x245d; S=0x246d;
  50. @property(retain, nonatomic) NSArray *clientCertificates; // G=0x4525; S=0x4535; @synthesize=_clientCertificates
  51. @property(assign, nonatomic) double timeoutSeconds; // G=0x4481; S=0x4499; @synthesize=_timeoutSeconds
  52. @property(readonly, assign, nonatomic) unsigned uploadPayloadSize; // G=0x4515; @synthesize=_uploadPayloadSize
  53. @property(readonly, assign, nonatomic) NSArray *requests; // G=0x2249;
  54. @property(retain, nonatomic) NSString *logResponseToFile; // G=0x44e1; S=0x44f1; @synthesize=_logResponseToFile
  55. @property(retain, nonatomic) NSString *logRequestToFile; // G=0x44ad; S=0x44bd; @synthesize=_logRequestToFile
  56. @property(assign, nonatomic) BOOL ignoresResponse; // G=0x20e1; S=0x20f5;
  57. @property(retain, nonatomic) NSURLConnection *connection; // G=0x4419; S=0x4429; @synthesize=_connection
  58. @property(assign, nonatomic) id delegate; // G=0x4409; S=0x2119; @synthesize=_delegate
  59. @property(retain, nonatomic) NSURL *URL; // G=0x43d5; S=0x43e5; @synthesize=_URL
  60. @property(readonly, retain) NSMutableArray *internalRequests; // G=0x2351; converted property
  61. + (BOOL)usesEncodedMessages; // 0x43c1
  62. // declared property setter: - (void)setShouldHandleCookies:(BOOL)handleCookies; // 0x4569
  63. // declared property getter: - (BOOL)shouldHandleCookies; // 0x4559
  64. // declared property setter: - (void)setClientCertificates:(id)certificates; // 0x4535
  65. // declared property getter: - (id)clientCertificates; // 0x4525
  66. // declared property getter: - (unsigned)uploadPayloadSize; // 0x4515
  67. // declared property setter: - (void)setLogResponseToFile:(id)file; // 0x44f1
  68. // declared property getter: - (id)logResponseToFile; // 0x44e1
  69. // declared property setter: - (void)setLogRequestToFile:(id)file; // 0x44bd
  70. // declared property getter: - (id)logRequestToFile; // 0x44ad
  71. // declared property setter: - (void)setTimeoutSeconds:(double)seconds; // 0x4499
  72. // declared property getter: - (double)timeoutSeconds; // 0x4481
  73. // declared property setter: - (void)setHttpResponseHeaders:(id)headers; // 0x445d
  74. // declared property getter: - (id)httpResponseHeaders; // 0x444d
  75. // declared property setter: - (void)setConnection:(id)connection; // 0x4429
  76. // declared property getter: - (id)connection; // 0x4419
  77. // declared property getter: - (id)delegate; // 0x4409
  78. // declared property setter: - (void)setURL:(id)url; // 0x43e5
  79. // declared property getter: - (id)URL; // 0x43d5
  80. - (id)decodeResponseData:(id)data; // 0x43d1
  81. - (void)encodeRequestData:(id)data startRequestCallback:(id)callback; // 0x43c5
  82. - (void)_timeoutTimerFired; // 0x4369
  83. - (void)_resetTimeoutTimer; // 0x42ed
  84. - (void)_removeTimeoutTimer; // 0x42bd
  85. - (void)_startTimeoutTimer; // 0x41cd
  86. - (void)connection:(id)connection didFailWithError:(id)error; // 0x414d
  87. - (void)connectionDidFinishLoading:(id)connection; // 0x3e29
  88. - (void)connection:(id)connection didReceiveData:(id)data; // 0x3bb9
  89. - (void)connection:(id)connection didReceiveResponse:(id)response; // 0x39fd
  90. - (BOOL)_tryParseData; // 0x3581
  91. - (id)tryReadResponseData:(id)data forRequest:(id)request forResponseClass:(Class)responseClass; // 0x34f9
  92. - (BOOL)readResponsePreamble:(id)preamble; // 0x349d
  93. - (void)cancelWithErrorCode:(int)errorCode; // 0x3471
  94. - (void)_cancelWithErrorDomain:(id)errorDomain errorCode:(int)code userInfo:(id)info; // 0x33e5
  95. - (void)_failWithErrorDomain:(id)errorDomain errorCode:(int)code userInfo:(id)info; // 0x3375
  96. - (void)_failWithError:(id)error; // 0x3335
  97. - (void)resume; // 0x32e5
  98. - (BOOL)isPaused; // 0x32d1
  99. - (void)pause; // 0x3179
  100. - (void)cancel; // 0x30d9
  101. - (void)start; // 0x2d91
  102. - (void)_sendPayload:(id)payload; // 0x2931
  103. - (void)writeRequest:(id)request into:(id)into; // 0x2885
  104. - (id)requestPreamble; // 0x26f5
  105. - (id)_osVersion; // 0x2641
  106. - (id)_applicationID; // 0x260d
  107. - (id)_languageLocale; // 0x252d
  108. - (void)setHttpRequestHeader:(id)header forKey:(id)key; // 0x24b1
  109. // declared property setter: - (void)setHttpRequestHeaders:(id)headers; // 0x246d
  110. // declared property getter: - (id)httpRequestHeaders; // 0x245d
  111. - (void)handleResponse:(id)response forInternalRequest:(id)internalRequest; // 0x2459
  112. - (id)responseForInternalRequest:(id)internalRequest; // 0x23c9
  113. - (void)addInternalRequest:(id)request; // 0x2361
  114. // converted property getter: - (id)internalRequests; // 0x2351
  115. - (id)responseForRequest:(id)request; // 0x22c1
  116. - (void)addRequest:(id)request; // 0x2259
  117. // declared property getter: - (id)requests; // 0x2249
  118. - (void)setNeedsCancel; // 0x2235
  119. // declared property setter: - (void)setNeedsCancel:(BOOL)cancel; // 0x2211
  120. // declared property getter: - (BOOL)needsCancel; // 0x21fd
  121. // declared property setter: - (void)setDelegate:(id)delegate; // 0x2119
  122. // declared property setter: - (void)setIgnoresResponse:(BOOL)response; // 0x20f5
  123. // declared property getter: - (BOOL)ignoresResponse; // 0x20e1
  124. - (void)_cleanup; // 0x2001
  125. - (void)dealloc; // 0x1e9d
  126. - (id)initWithURL:(id)url andDelegate:(id)delegate; // 0x1e19
  127. @end