SAFR Windows SDK
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
RealNetworks.ArgusKit.CloudEnvironment Class Reference

Represents a cloud environment to which the object tracker and event reporting services should connect to do object recognition and event reporting. More...

Inheritance diagram for RealNetworks.ArgusKit.CloudEnvironment:

Public Member Functions

 CloudEnvironment (Hosts hosts, string name)
 Create a custom cloud environment which allows you precise control over which cloud servers should be used for the different services. More...
 
override string ToString ()
 Returns a debug description of the receiver. More...
 
override int GetHashCode ()
 Returns the hash code of the receiver. More...
 
override bool Equals (object obj)
 Returns true if the receiver and the given object represent the same cloud environment. More...
 
bool Equals (CloudEnvironment other)
 Returns true if the receiver and the given environment represent the same cloud environment. More...
 

Static Public Member Functions

static bool operator== (CloudEnvironment lhs, CloudEnvironment rhs)
 Returns true if both environment objects represent the same cloud environments. More...
 
static bool operator!= (CloudEnvironment lhs, CloudEnvironment rhs)
 Returns true if both environment objects represent different cloud environments. More...
 
static void AddHeader (HttpWebRequest request, string header, string value, bool useBase64PostfixHeaderName=true)
 

Static Public Attributes

static readonly CloudEnvironment Local
 Returns a cloud environment object which points to a SAFR platform running on the local machine. More...
 
static readonly CloudEnvironment Dev
 Returns a cloud environment object which points to the RealNetworks, Inc. developer environment. More...
 
static readonly CloudEnvironment Int2
 Returns a cloud environment object which points to the RealNetworks, Inc. internal test environment. More...
 
static readonly CloudEnvironment Prod
 Returns a cloud environment object which points to the RealNetworks, Inc. production environment. More...
 

Properties

static List< CloudEnvironmentAll [get]
 Returns all predefined cloud environments. More...
 
string Name [get]
 Returns the name of the cloud environment. More...
 
Hosts Hosts [get]
 Returns the hosts object backing the cloud environment. More...
 

Detailed Description

Represents a cloud environment to which the object tracker and event reporting services should connect to do object recognition and event reporting.

Constructor & Destructor Documentation

◆ CloudEnvironment()

RealNetworks.ArgusKit.CloudEnvironment.CloudEnvironment ( Hosts  hosts,
string  name 
)

Create a custom cloud environment which allows you precise control over which cloud servers should be used for the different services.

Parameters
hoststhe hosts object which stores the cloud server URLs
namethe name of the custom environment

Member Function Documentation

◆ AddHeader()

static void RealNetworks.ArgusKit.CloudEnvironment.AddHeader ( HttpWebRequest  request,
string  header,
string  value,
bool  useBase64PostfixHeaderName = true 
)
static

◆ Equals() [1/2]

bool RealNetworks.ArgusKit.CloudEnvironment.Equals ( CloudEnvironment  other)

Returns true if the receiver and the given environment represent the same cloud environment.

Parameters
otherthe other environment
Returns
true if both are the same; false otherwise

◆ Equals() [2/2]

override bool RealNetworks.ArgusKit.CloudEnvironment.Equals ( object  obj)

Returns true if the receiver and the given object represent the same cloud environment.

Parameters
objthe other object
Returns
true if both are the same; false otherwise

◆ GetHashCode()

override int RealNetworks.ArgusKit.CloudEnvironment.GetHashCode ( )

Returns the hash code of the receiver.

Returns
the hash code

◆ operator!=()

static bool RealNetworks.ArgusKit.CloudEnvironment.operator!= ( CloudEnvironment  lhs,
CloudEnvironment  rhs 
)
static

Returns true if both environment objects represent different cloud environments.

Parameters
lhsone environment
rhsthe other environment
Returns
true if different; false otherwise

◆ operator==()

static bool RealNetworks.ArgusKit.CloudEnvironment.operator== ( CloudEnvironment  lhs,
CloudEnvironment  rhs 
)
static

Returns true if both environment objects represent the same cloud environments.

Parameters
lhsone environment
rhsthe other environment
Returns
true if the same; false otherwise

◆ ToString()

override string RealNetworks.ArgusKit.CloudEnvironment.ToString ( )

Returns a debug description of the receiver.

Returns
the debug description

Member Data Documentation

◆ Dev

readonly CloudEnvironment RealNetworks.ArgusKit.CloudEnvironment.Dev
static
Initial value:
new Hosts(
new Uri("https://covi.dev.real.com/"),
new Uri("https://faces.dev.real.com/"),
new Uri("https://cv-event.dev.real.com/"),
new Uri("https://cvos.dev.real.com/"),
new Uri("https://virga.dev.real.com/")
), EnvironmentTypes.Dev)

Returns a cloud environment object which points to the RealNetworks, Inc. developer environment.

◆ Int2

readonly CloudEnvironment RealNetworks.ArgusKit.CloudEnvironment.Int2
static
Initial value:
new Hosts(
new Uri("https://covi.int2.real.com/"),
new Uri("https://faces.int2.real.com/"),
new Uri("https://cv-event.int2.real.com/"),
new Uri("https://cvos.int2.real.com/"),
new Uri("https://virga.int2.real.com/")
), EnvironmentTypes.Int2)

Returns a cloud environment object which points to the RealNetworks, Inc. internal test environment.

◆ Local

readonly CloudEnvironment RealNetworks.ArgusKit.CloudEnvironment.Local
static
Initial value:
new Hosts(
new Uri("http://localhost:8080/covi-ws"),
new Uri("http://localhost:8888/"),
new Uri("http://localhost:8082/"),
new Uri("http://localhost:8086/"),
new Uri("http://localhost:8084/")
), EnvironmentTypes.Local)

Returns a cloud environment object which points to a SAFR platform running on the local machine.

◆ Prod

readonly CloudEnvironment RealNetworks.ArgusKit.CloudEnvironment.Prod
static
Initial value:
new Hosts(
new Uri("https://covi.real.com/"),
new Uri("https://faces.real.com/"),
new Uri("https://cv-event.real.com/"),
new Uri("https://cvos.real.com/"),
new Uri("https://virga.real.com/")
), EnvironmentTypes.Prod)

Returns a cloud environment object which points to the RealNetworks, Inc. production environment.

Property Documentation

◆ All

List<CloudEnvironment> RealNetworks.ArgusKit.CloudEnvironment.All
staticget

Returns all predefined cloud environments.

◆ Hosts

Hosts RealNetworks.ArgusKit.CloudEnvironment.Hosts
get

Returns the hosts object backing the cloud environment.

◆ Name

string RealNetworks.ArgusKit.CloudEnvironment.Name
get

Returns the name of the cloud environment.

RealNetworks.ArgusKit.CloudEnvironment.CloudEnvironment
CloudEnvironment(Hosts hosts, string name)
Create a custom cloud environment which allows you precise control over which cloud servers should be...
Definition: CloudEnvironment.cs:196
RealNetworks.ArgusKit.CloudEnvironment.Hosts
Hosts Hosts
Returns the hosts object backing the cloud environment.
Definition: CloudEnvironment.cs:210