Click or drag to resize
AutoUpdateConstants Class
Constants used within Auto Update.
Inheritance Hierarchy
SystemObject
  Crestron.AutoUpdateApiCommonAutoUpdateConstants

Namespace: Crestron.AutoUpdateApiCommon
Assembly: SimplSharpAutoUpdateInterface (in SimplSharpAutoUpdateInterface.dll)
Syntax
C#
public static class AutoUpdateConstants

The AutoUpdateConstants type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberAnyChangeToSleepyParametersEventName
This is the name of the event that will be pulsed when there is a change (via console command or API) to any of the following: 1. AUMANIFESTURL 2. AUPASSWORD 3. AUUSERNAME
Public fieldStatic memberauApiSyncWaitTimeout
How long the API waits for the initial sync to take place [DWORD]
Public fieldStatic memberauAuiEngineExitThreadPriority
The priority of the thread that monitors the engine wanting to exit event [DWORD]
Public fieldStatic memberauCloudDiagTimeIntervalStr
Registry Key name - time and interval written by the Cloud Diagnostics to trigger autodiscovery [String]
Public fieldStatic memberauConfirmUpdateEventName
When an update starts, after the initial information block is sent, the engine will wait on auConfirmUpdateEventName and auDenyUpdateEventName. If it gets this, it will continue with the update.
Public fieldStatic memberauConfirmUpdateTimeout
The timeout when a message is sent to the API for confirming/denying an update. If the timeout happens, the update proceeds ahead.
Public fieldStatic memberauDefaultConfirmationUpdateTimeout
Default timeout for API confirmation/denial of update (in ms).
Public fieldStatic memberauDefaultLogPath
Path to the log files for consumption by the API.
Public fieldStatic memberauDefaultPluginCatalogUrl
The default URL to be used for the plugin catalog if NONE is used.
Public fieldStatic memberauDenyUpdateEventName
When an update starts, after the initial information block is sent, the engine will wait on auConfirmUpdateEventName and auDenyUpdateEventName If it gets this, it will exit.
Public fieldStatic memberauDeviceLoginNameStr
Registry Key name - The username for auto update to login to remote devices with [String]
Public fieldStatic memberauDeviceLoginPasswordStr
Registry Key name - The password for auto update to login to remote devices with [String]
Public fieldStatic memberauEnabledStr
Registry Key name - auto update is enabled or disabled. 0 is disabled, 1 is enabled [DWORD]
Public fieldStatic memberauEngineAppNumberStr
Registry Key Name - the app number that the Engine is supposed to be [DWORD].
Public fieldStatic memberauErSleepyDeviceFileName
The location of the "Grumpy" device list.
Public fieldStatic memberauFriendlyNameForPythagoras
This is the name used to set in the InitialParameters class so that the Crestron Scheduler (aka Pythagoras) sees it like a App.
Public fieldStatic memberauInterfaceRegistryPathStr
The general path to the auto update interface in the registry.
Public fieldStatic memberauLogFilePath
The path to the log files [STRING]
Public fieldStatic memberauLogFilesDirectoryStr
Registry Key name - The location where the engine will place the log files. This path has a trailing backslash on it [String]
Public fieldStatic memberauManifestUrlStr
Registry Key name - the URL of the manifest file used by the auto update engine [String]
Public fieldStatic memberauMaxAppMessageQSizeStr
Registry Key name - The maximum size of the message queue between the apps and the interface [DWORD]
Public fieldStatic memberauMaxAppMessageSizeStr
Registry Key name - The maximum message size in the queue between the apps and the interface [DWORD]
Public fieldStatic memberauMsgHandlerThreadPriority
For each API, this is the thread priority of the Message Handler [DWORD]
Public fieldStatic memberauPerAppThreadPriority
The priority of the threads for App00-AppNN + Engine [DWORD]
Public fieldStatic memberauPluginCatalogUrlStr
Registry Key name - the URL of the plugin catalog used by the auto update engine [String]
Public fieldStatic memberauPollIntervalStr
Registry Key name - the value to poll at (assuming no autime is set) [DWORD].
Public fieldStatic memberauQueueWriteTimeout
The timeout when writing to a message queue (used by API->AUI, AUI->Engine) [DWORD]
Public fieldStatic memberauReleaseNotesFilename
Filename that the Engine will dump the "Description" field from the manifest into. It is considered current when the API receives the "UpdateAvailable" message.
Public fieldStatic memberauServerLoginNameStr
Registry Key name - The username for the server to log into for auto update to obtain files to download [String]
Public fieldStatic memberauServerLoginPasswordStr
Registry Key name - The password for the server to log into for auto update to obtain files to download [String]
Public fieldStatic memberauTimerEventEngineAuCloudDiscoveryName
For Crestron Timer Event Engine - the name of the Event that corresponds to the data for AUCLOUDAUTODISCOVERYINTERVAL
Public fieldStatic memberauTimerEventEngineAupollintervalName
For Crestron Timer Event Engine - the name of the Event that corresponds to the data for AUPOLLINTERVAL
Public fieldStatic memberauTimerEventEngineAutimeName
For Crestron Timer Event Engine - the name of the Event that corresponds to the data for AUTIME
Public fieldStatic memberauTimerEventEngineGroupNameForAutoUpdate
For Crestron Timer Event Engine - the name of our Timer group for AUTIME, AUPOLLINTERVAL.
Public fieldStatic memberauTimerEventEngineGroupNameForEngineEvents
For Crestron Timer Event Engine - the name of our Timer group for engine scheduled events.
Public fieldStatic memberAutoUpdateEngineSchedulingEventStruct
Constant AutoUpdateEngineSchedulingEventStruct
Public fieldStatic memberAutoUpdateInitialInformationStructOverhead
Constant AutoUpdateInitialInformationStructOverhead
Public fieldStatic memberAutoUpdateIntegerValueStruct
Constant AutoUpdateIntegerValueStruct
Public fieldStatic memberAutoUpdateNoValueStruct
Constant AutoUpdateNoValueStruct
Public fieldStatic memberAutoUpdateStringStructSize
For the queues - the size of the string for fixed data.
Public fieldStatic memberAutoUpdateTimeToPerformDiscoveryStruct
Constant AutoUpdateTimeToPerformUpdateStruct
Public fieldStatic memberAutoUpdateTimeToPerformUpdateStruct
Constant AutoUpdateTimeToPerformUpdateStruct
Public fieldStatic memberControlSystemToDeviceUpdateProgressStructOverhead
Constant ControlSystemToDeviceUpdateProgressStructOverhead
Public fieldStatic memberEngineExitCancelViaApiEventName
Event that the AUI will set so that the engine knows it needs to exit as a cancel from the API.
Public fieldStatic memberEngineExitCancelViaConsoleEventName
Event that the AUI will set so that the engine knows it needs to exit as a cancel from the Console.
Public fieldStatic memberEngineExitFromApiForceEventName
Event that the AUI will set to let the engine know we want to do a FORCE through the API. Engine waits on it.
Public fieldStatic memberEngineExitFromConsoleForceEventName
Event that the AUI will set to let the engine know we want to do a FORCE through the console. Engine waits on it.
Public fieldStatic memberEngineExitOkEventName
Event that the AUI will set so that the engine knows it is OK to exit cleanly.
Public fieldStatic memberEngineIsRunningEventName
Event that both the engine and AUI create - if the AUI creates it and then does a GetLastError() and sees that ERROR_ALREADY_EXISTS, then we know the engine is up and running, otherwise, we should close the event and assume it's not running.
Public fieldStatic memberEngineWantsToExitEventName
The name of the event that the Auto Update Engine will set when it wants to exit cleanly. AUI will wait on it.
Public fieldStatic memberEngineWantsToExitFromApiCancelEventName
The name of the event that the Auto Update Engine will set when it wants to exit from an API cancel. AUI will wait on it.
Public fieldStatic memberEngineWantsToExitFromApiForceEventName
The name of the event that the Auto Update Engine will set when it wants to exit from an API Force. AUI will wait on it.
Public fieldStatic memberEngineWantsToExitFromConsoleCancelEventName
The name of the event that the Auto Update Engine will set when it wants to exit from a Console cancel. AUI will wait on it.
Public fieldStatic memberEngineWantsToExitFromConsoleForceEventName
The name of the event that the Auto Update Engine will set when it wants to exit from a Console Force. AUI will wait on it.
Public fieldStatic memberEngineWantsToExitFromGenerateDeviceListsEventName
The name of the event hat the Auto Update Engine will set when it wants to exit from the GenerateDeviceLists() API call.
Public fieldStatic memberERROR_ALREADY_EXISTS
From unmanaged API
Public fieldStatic memberFromEngineQueue
The name of the queue where the AUI receives from the engine.
Public fieldStatic memberINFINITE
Constant INFINITE
Public fieldStatic memberParseSeparator
When building strings in the engine, this is used to concatenate entities. Also used to split them back up in the AUI.
Public fieldStatic memberPreviouslyDiscoveredList
Path for file that holds the contents of the previous discovery (Cresnet, Ethernet, etc...)
Public fieldStatic memberRemoteServerToControlSystemUpdateProgressStructOverhead
Constant RemoteServerToControlSystemUpdateProgressStructOverhead
Public fieldStatic memberStringStructOverhead
Constant StringStructOverhead
Public fieldStatic memberTimeoutAfterEngineIsToldToExitUntilItActuallyExits
When the AUI tells the engine it's OK to exit, there is still some finite time it takes to go away. The engine will notify us via an event, but we should have some timeout in case the engine never goes away, We can't wait forever. This is in milliseconds.
Public fieldStatic memberTimeoutForEngineAbortSuccess
Timeout to wait for the engine to actually abort when it's cancelled.
Public fieldStatic memberToEngineQueue
The name of the queue where the AUI transmits to the engine.
Public fieldStatic memberWAIT_ABANDONED
Constant WAIT_ABANDONED
Public fieldStatic memberWAIT_ABANDONED_0
Constant WAIT_ABANDONED_0
Public fieldStatic memberWAIT_FAILED
Constant WAIT_FAILED
Public fieldStatic memberWAIT_OBJECT_0
Constant WAIT_OBJECT_0
Top
Remarks
For any new registry keys or branches, please remember to make entries into SaveRegistry.cpp under EthCmdUtility.
See Also