Zooflow: Implement Single file Search Results, Rework client wrt Address parsing
This commit is contained in:
@@ -119,15 +119,13 @@ Public Class ClassInit
|
||||
End If
|
||||
End If
|
||||
|
||||
MyApplication.Service.Address = My.SystemConfig.AppServerConfig
|
||||
Dim oServerData = Client.ParseServiceAddress(My.SystemConfig.AppServerConfig)
|
||||
' These Properties need to be set directly on
|
||||
|
||||
My.Application.Service.Client = New Client(LogConfig, oServerData.Item1, oServerData.Item2)
|
||||
My.Application.Service.Address = My.SystemConfig.AppServerConfig
|
||||
My.Application.Service.Client = New Client(LogConfig, My.SystemConfig.AppServerConfig)
|
||||
|
||||
If Not IsNothing(My.Application.Service.Client) Then
|
||||
If My.Application.Service.Client.Connect() Then
|
||||
MyApplication.Service.IsActive = True
|
||||
End If
|
||||
My.Application.Service.Client.Connect()
|
||||
End If
|
||||
Catch ex As Exception
|
||||
Logger.Error(ex)
|
||||
|
||||
Reference in New Issue
Block a user