Static Public Member Functions | Properties

OFTimeStamp Class Reference

#import <OFTimeStamp.h>

List of all members.

Static Public Member Functions

(void) + setDelegate:
(OFRequestHandle *) + getServerTime
(NSString *) + getResourceName

Properties

NSDate * time
int secondsSinceEpoch

Member Function Documentation

+ (NSString*) getResourceName
+ (OFRequestHandle*) getServerTime

The blob needs to be explicity downloaded. After calling this the blob property will be filled out if we have data attached to this high score.

Returns:
OFRequestHandle for the server request. Use this to cancel the request
Note:
Invokes - (void)didGetServerTime:(OFTimeStamp*)timeStamp on success and
  • (void)didFailGetServerTime on failure
+ (void) setDelegate: (id< OFTimeStampDelegate >)  delegate

Set a delegate for all OFTimeStamp related actions. Must adopt the OFTimeStampDelegate protocol.

Note:
Defaults to nil. Weak reference

Property Documentation

- (int) secondsSinceEpoch [read, assign]
- (NSDate *) time [read, assign]

The time associated witht his object


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Enumerations Enumerator Properties