mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-05-13 00:04:14 +08:00
Reorganize project structure
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
//
|
||||
// OpenVPNInterfaceStats.h
|
||||
// OpenVPN Adapter
|
||||
//
|
||||
// Created by Sergey Abramchuk on 26.04.17.
|
||||
//
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
/**
|
||||
Class used to provide stats for an interface
|
||||
*/
|
||||
@interface OpenVPNInterfaceStats : NSObject <NSCopying, NSSecureCoding>
|
||||
|
||||
/**
|
||||
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;
|
||||
|
||||
/**
|
||||
Amount 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;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user