DeviceAtlas Cloud .NET API  1.4.2
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Properties | List of all members
Mobi.Mtld.DeviceAtlas.Cloud.Server Class Reference

Defines a cloud end-point (server) More...

Public Member Functions

 Server ()
 Creates DeviceAtlas Server object More...
 
 Server (string host, string port)
 Creates DeviceAtlas Server object More...
 
 Server (string host, string port, string path)
 Creates DeviceAtlas Server object More...
 
string GetUrl ()
 Get server connectable URL More...
 
string Serialize ()
 Serialize properties (server URL parts) More...
 
void UnSerialize (string str)
 Unserialize properties (server URL parts) More...
 

Properties

string Host [get, set]
 end-point host base URL More...
 
string Port [get, set]
 end-point host port More...
 
string Path [get, set]
 end-point host URL path More...
 
double Avg [get, set]
 end-point ranking test results - when the API checks the end-point the average of test request times will be put in this property More...
 
List< double > Latencies [get, set]
 end-point ranking test results - when the API checks the end-point test request times will be put in this list More...
 

Detailed Description

Defines a cloud end-point (server)

<author>dotMobi</author> <copyright>Copyright (c) 2021 by DeviceAtlas Limited. All rights reserved.</copyright>

Constructor & Destructor Documentation

Mobi.Mtld.DeviceAtlas.Cloud.Server.Server ( )
inline

Creates DeviceAtlas Server object

Mobi.Mtld.DeviceAtlas.Cloud.Server.Server ( string  host,
string  port 
)
inline

Creates DeviceAtlas Server object

Parameters
hostServer host address
portServer port number
Mobi.Mtld.DeviceAtlas.Cloud.Server.Server ( string  host,
string  port,
string  path 
)
inline

Creates DeviceAtlas Server object

Parameters
hostServer host address
portServer port number
pathServer URL path

Member Function Documentation

string Mobi.Mtld.DeviceAtlas.Cloud.Server.GetUrl ( )
inline

Get server connectable URL

Returns
end-point full URL (host+port+path)
string Mobi.Mtld.DeviceAtlas.Cloud.Server.Serialize ( )
inline

Serialize properties (server URL parts)

void Mobi.Mtld.DeviceAtlas.Cloud.Server.UnSerialize ( string  str)
inline

Unserialize properties (server URL parts)

Property Documentation

double Mobi.Mtld.DeviceAtlas.Cloud.Server.Avg
getset

end-point ranking test results - when the API checks the end-point the average of test request times will be put in this property

string Mobi.Mtld.DeviceAtlas.Cloud.Server.Host
getset

end-point host base URL

List<double> Mobi.Mtld.DeviceAtlas.Cloud.Server.Latencies
getset

end-point ranking test results - when the API checks the end-point test request times will be put in this list

string Mobi.Mtld.DeviceAtlas.Cloud.Server.Path
getset

end-point host URL path

string Mobi.Mtld.DeviceAtlas.Cloud.Server.Port
getset

end-point host port


The documentation for this class was generated from the following file: