24
25
26
27
28
29
30
31
32
33
|
OF_ASSUME_NONNULL_BEGIN
/**
* @brief A protocol for a storage to be used by @ref MTXClient.
*/
@protocol MTXStorage <OFObject>
@end
OF_ASSUME_NONNULL_END
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
OF_ASSUME_NONNULL_BEGIN
/**
* @brief A protocol for a storage to be used by @ref MTXClient.
*/
@protocol MTXStorage <OFObject>
/**
* @brief Stores the next batch for the specified device.
*
* @param nextBatch The next batch for the device
* @param deviceID The device for which to store the next batch
*/
- (void)setNextBatch: (OFString *)nextBatch
forDeviceID: (OFString *)deviceID;
/**
* @brief Returns the next batch for the specified device.
*
* @param deviceID The device ID for which to return the next batch
* @return The next batch for the specified device, or `nil` if none is
* available.
*/
- (nullable OFString *)nextBatchForDeviceID: (OFString *)deviceID;
@end
OF_ASSUME_NONNULL_END
|