Class
    MobiledgeXiOSLibrary.PerformanceMetrics.Site
@available(iOS 13.0, *) public class Site
Object used by NetTest to test latency of server. Each site object contains the server path or host + port, avg latency, standard deviation, list of latency times, and the TestType. TestType is either PING or CONNECT, where PING is ICMP Ping (not implemented) and CONNECT is is actually setting up a connection and then disconnecting immediately.
Relationships
Member Of
MobiledgeXiOSLibrary.PerformanceMetricsNamespace for collecting network performance. Contains NetTest and Site classes
Conforms To
Equatable
Initializers
        init(network:host:port:testType:numSamples:)
    
    public init(network: String, host: String, port: UInt16, testType: NetTest.TestType?, numSamples: Int?)
initialize size with host and port
        init(network:l7Path:testType:numSamples:)
    
    public init(network: String, l7Path: String, testType: NetTest.TestType?, numSamples: Int?)
initialize http site
Properties
        host
    
    var host: String?
        port
    
    var port: UInt16?
        l7Path
    
    var l7Path: String?
        network
    
    var network: String
        testType
    
    var testType: NetTest.TestType
        lastPingMs
    
    var lastPingMs: Double?
        avg
    
    var avg: Double
        stdDev
    
    var stdDev: Double
        samples
    
    var samples: [Double]
        capacity
    
    var capacity: Int
        appInst
    
    var appInst: MobiledgeXiOSLibrary.MatchingEngine.Appinstance?
        cloudletLocation
    
    var cloudletLocation: MobiledgeXiOSLibrary.MatchingEngine.Loc?
Methods
        addSample(sample:)
    
    public func addSample(sample: Double)