mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Add documentation comments to interface stats wrapper
This commit is contained in:
@@ -8,13 +8,39 @@
|
|||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
Class used to provide stats for an interface
|
||||||
|
*/
|
||||||
@interface OpenVPNInterfaceStats : NSObject
|
@interface OpenVPNInterfaceStats : NSObject
|
||||||
|
|
||||||
|
/**
|
||||||
|
Amount of received bytes
|
||||||
|
*/
|
||||||
@property (readonly, nonatomic) NSInteger bytesIn;
|
@property (readonly, nonatomic) NSInteger bytesIn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Amout of sent bytes
|
||||||
|
*/
|
||||||
@property (readonly, nonatomic) NSInteger bytesOut;
|
@property (readonly, nonatomic) NSInteger bytesOut;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Amount of received packets
|
||||||
|
*/
|
||||||
@property (readonly, nonatomic) NSInteger packetsIn;
|
@property (readonly, nonatomic) NSInteger packetsIn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Amout of sent packets
|
||||||
|
*/
|
||||||
@property (readonly, nonatomic) NSInteger packetsOut;
|
@property (readonly, nonatomic) NSInteger packetsOut;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Amount of incoming packets handling errors
|
||||||
|
*/
|
||||||
@property (readonly, nonatomic) NSInteger errorsIn;
|
@property (readonly, nonatomic) NSInteger errorsIn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Amount of outgoing packets handling errors
|
||||||
|
*/
|
||||||
@property (readonly, nonatomic) NSInteger errorsOut;
|
@property (readonly, nonatomic) NSInteger errorsOut;
|
||||||
|
|
||||||
- (nonnull instancetype) __unavailable init;
|
- (nonnull instancetype) __unavailable init;
|
||||||
|
|||||||
Reference in New Issue
Block a user