Add documentation comments to interface stats wrapper

This commit is contained in:
Sergey Abramchuk
2017-04-26 14:40:44 +03:00
parent c09ab72657
commit 423ee16f53

View File

@@ -8,13 +8,39 @@
#import <Foundation/Foundation.h>
/**
Class used to provide stats for an interface
*/
@interface OpenVPNInterfaceStats : NSObject
/**
Amount of received bytes
*/
@property (readonly, nonatomic) NSInteger bytesIn;
/**
Amout of sent bytes
*/
@property (readonly, nonatomic) NSInteger bytesOut;
/**
Amount of received packets
*/
@property (readonly, nonatomic) NSInteger packetsIn;
/**
Amout of sent packets
*/
@property (readonly, nonatomic) NSInteger packetsOut;
/**
Amount of incoming packets handling errors
*/
@property (readonly, nonatomic) NSInteger errorsIn;
/**
Amount of outgoing packets handling errors
*/
@property (readonly, nonatomic) NSInteger errorsOut;
- (nonnull instancetype) __unavailable init;