VideoOS.Platform.ConfigurationItems.ReplaceHardwareServerTask Class Reference

Replace hardware. More...

Inheritance diagram for VideoOS.Platform.ConfigurationItems.ReplaceHardwareServerTask:
VideoOS.Platform.ConfigurationItems.ServerTask

Public Member Functions

ServerTask Execute ()
 Call this method to let the server execute when the properties have been updated.
The returned ServerTask can be used to inspect the result.
 
- Public Member Functions inherited from VideoOS.Platform.ConfigurationItems.ServerTask
ServerTask ExecuteDefault ()
 Will execute the first available method. Can be called when multiple steps are involved in changing values in the properties.
 
ServerTask ExecuteMethod (string methodId)
 Execute the provided method. The method id must be one of the defined values in the Methods property.
 
string GetProperty (string key)
 Return a property value as string, if key is not found the return value will be null.
 
ICollection< string > GetPropertyKeys ()
 Gets a collection of all available property keys.
 
void GetTask (string path)
 Use this method once, when the InvokeResult has placed the task path in a property with another name than 'Path'.
 
List< ValueTypeInfoGetValueTypeInfoList (string propertyKey)
 Gets a list of defined ValueTypeInfo for a given property.
If no ValueTypeInfo is available, an empty list is returned.
 
void SetProperty (string key, string content)
 Sets the value of a property (all is string format here)
 
void UpdateState ()
 Calls the server to get the fields updated, when the progress is < 100.
 
ValidateResult ValidateItem ()
 Validate the current content.
 

Properties

string Address [get, set]
 Address. The IP address or host name of the new hardware.
 
bool AllowDeletingDisabledDevices [get, set]
 Allow deleting disabled devices. Is the replace hardware task allowed to delete disabled devices if needed during the replace hardware operation.
 
string CustomDriverData [get, set]
 Custom driver data. Custom driver data passed to the driver when obtaining information about the new hardware. Not supported for most drivers, so in most cases just leave it empty.
 
String Driver [get, set]
 Driver. Driver number of the driver to use with the new hardware. Valid values are available in the DriverValues property dictionary.
 
Dictionary< string, string > DriverValues [get]
 A list of valid names/values for the Driver property.
 
int HttpsPort [get, set]
 HTTPS port. Port to use for HTTPS communication with the new hardware.
 
int Port [get, set]
 Port. The network port to use for communicating with the new hardware.
 
System.Security.SecureString SecurePassword [get, set]
 Password. Password to use with the new hardware.
 
bool UseHttps [get, set]
 Use HTTPS. Communication with the new hardware must use HTTPS.
 
string UserName [get, set]
 User name. User name to use with the new hardware.
 
- Properties inherited from VideoOS.Platform.ConfigurationItems.ServerTask
String ErrorCode [get]
 If state is Error the ErrorCode explains what went wrong.
 
String ErrorText [get]
 When state is Error the ErrorState TBD.
 
string ItemType [get]
 Returns the ItemType of the underlayng ConfigurationItem, usually InvokeResult or InvokeInfo.
 
Collection< string > Methods [get]
 The available methods for this task.
 
string Path [get]
 The path of an item, when relevant. Usually available after adding a ConfigurationItem.
 
int Progress [get]
 Defines the progress of the server task. When Progress is 100, or state is Success or Error - the task is complete.
 
StateEnum State [get]
 Defines the current state of this task.
 

Detailed Description

Replace hardware.

Member Function Documentation

◆ Execute()

ServerTask VideoOS.Platform.ConfigurationItems.ReplaceHardwareServerTask.Execute ( )
inline

Call this method to let the server execute when the properties have been updated.
The returned ServerTask can be used to inspect the result.

Property Documentation

◆ Address

string VideoOS.Platform.ConfigurationItems.ReplaceHardwareServerTask.Address
getset

Address. The IP address or host name of the new hardware.

◆ AllowDeletingDisabledDevices

bool VideoOS.Platform.ConfigurationItems.ReplaceHardwareServerTask.AllowDeletingDisabledDevices
getset

Allow deleting disabled devices. Is the replace hardware task allowed to delete disabled devices if needed during the replace hardware operation.

◆ CustomDriverData

string VideoOS.Platform.ConfigurationItems.ReplaceHardwareServerTask.CustomDriverData
getset

Custom driver data. Custom driver data passed to the driver when obtaining information about the new hardware. Not supported for most drivers, so in most cases just leave it empty.

◆ Driver

String VideoOS.Platform.ConfigurationItems.ReplaceHardwareServerTask.Driver
getset

Driver. Driver number of the driver to use with the new hardware. Valid values are available in the DriverValues property dictionary.

◆ DriverValues

Dictionary<string, string> VideoOS.Platform.ConfigurationItems.ReplaceHardwareServerTask.DriverValues
get

A list of valid names/values for the Driver property.

◆ HttpsPort

int VideoOS.Platform.ConfigurationItems.ReplaceHardwareServerTask.HttpsPort
getset

HTTPS port. Port to use for HTTPS communication with the new hardware.

◆ Port

int VideoOS.Platform.ConfigurationItems.ReplaceHardwareServerTask.Port
getset

Port. The network port to use for communicating with the new hardware.

◆ SecurePassword

System.Security.SecureString VideoOS.Platform.ConfigurationItems.ReplaceHardwareServerTask.SecurePassword
getset

Password. Password to use with the new hardware.

◆ UseHttps

bool VideoOS.Platform.ConfigurationItems.ReplaceHardwareServerTask.UseHttps
getset

Use HTTPS. Communication with the new hardware must use HTTPS.

◆ UserName

string VideoOS.Platform.ConfigurationItems.ReplaceHardwareServerTask.UserName
getset

User name. User name to use with the new hardware.