Showing the changes to Source/Libraries/GSF.ServiceProcess/ClientHelper.cs (1 of 47 files). Show all
Unified · Split
| @@ -27,7 +27,7 @@ · 26 unmodified lines | |||
| 27 | // Added AuthenticationMethod, AuthenticationUsername and AuthenticationPassword properties to | 27 | // Added AuthenticationMethod, AuthenticationUsername and AuthenticationPassword properties to |
| 28 | // provision for the authentication process as part of security. | 28 | // provision for the authentication process as part of security. |
| 29 | // Added ISupportLifecycle, ISupportInitialize and IPersistSettings interface implementations | 29 | // Added ISupportLifecycle, ISupportInitialize and IPersistSettings interface implementations |
| 30 | // to support the persistance and retrieval of settings from the config file. | 30 | // to support the persistence and retrieval of settings from the config file. |
| 31 | // 07/17/2009 - Pinal C. Patel | 31 | // 07/17/2009 - Pinal C. Patel |
| 32 | // Added static PretendRequest() method that can be used to create pretend request for manually | 32 | // Added static PretendRequest() method that can be used to create pretend request for manually |
| 33 | // invoking request handlers registered with the ServiceHelper. | 33 | // invoking request handlers registered with the ServiceHelper. |
| @@ -277,7 +277,7 @@ namespace GSF.ServiceProcess · 243 unmodified lines | |||
| 277 | /// <summary> | 277 | /// <summary> |
| 278 | /// Gets or sets a boolean value that indicates whether the settings of <see cref="ClientHelper"/> are to be saved to the config file. | 278 | /// Gets or sets a boolean value that indicates whether the settings of <see cref="ClientHelper"/> are to be saved to the config file. |
| 279 | /// </summary> | 279 | /// </summary> |
| 280 | [Category("Persistance"), | 280 | [Category("Persistence"), |
| 281 | DefaultValue(DefaultPersistSettings), | 281 | DefaultValue(DefaultPersistSettings), |
| 282 | Description("Indicates whether the settings of ClientHelper are to be saved to the config file.")] | 282 | Description("Indicates whether the settings of ClientHelper are to be saved to the config file.")] |
| 283 | public bool PersistSettings | 283 | public bool PersistSettings |
| @@ -296,7 +296,7 @@ namespace GSF.ServiceProcess · 12 unmodified lines | |||
| 296 | /// Gets or sets the category under which the settings of <see cref="ClientHelper"/> are to be saved to the config file if the <see cref="PersistSettings"/> property is set to true. | 296 | /// Gets or sets the category under which the settings of <see cref="ClientHelper"/> are to be saved to the config file if the <see cref="PersistSettings"/> property is set to true. |
| 297 | /// </summary> | 297 | /// </summary> |
| 298 | /// <exception cref="ArgumentNullException">The value being assigned is a null or empty string.</exception> | 298 | /// <exception cref="ArgumentNullException">The value being assigned is a null or empty string.</exception> |
| 299 | [Category("Persistance"), | 299 | [Category("Persistence"), |
| 300 | DefaultValue(DefaultSettingsCategory), | 300 | DefaultValue(DefaultSettingsCategory), |
| 301 | Description("Category under which the settings of ClientHelper are to be saved to the config file if the PersistSettings property is set to true.")] | 301 | Description("Category under which the settings of ClientHelper are to be saved to the config file if the PersistSettings property is set to true.")] |
| 302 | public string SettingsCategory | 302 | public string SettingsCategory |
| @@ -664,9 +664,10 @@ namespace GSF.ServiceProcess · 361 unmodified lines | |||
| 664 | status.AppendLine(); | 664 | status.AppendLine(); |
| 665 | UpdateStatus(UpdateType.Warning, status.ToString()); | 665 | UpdateStatus(UpdateType.Warning, status.ToString()); |
| 666 | 666 | ||
| 667 | // Attempt reconnection on a seperate thread. | 667 | // Attempt reconnection on a separate thread. |
| 668 | if (m_attemptReconnection) | 668 | if (m_attemptReconnection) |
| 669 | new Thread((ThreadStart)delegate { | 669 | new Thread((ThreadStart)delegate |
| 670 | { | ||
| 670 | Connect(); | 671 | Connect(); |
| 671 | }).Start(); | 672 | }).Start(); |
| 672 | } | 673 | } |