Showing the changes to Source/Libraries/GSF.ServiceProcess (2 of 13 files). Show all
Unified · Split
| @@ -641,14 +641,14 @@ namespace GSF.ServiceProcess · 640 unmodified lines | ||
| 641 | 641 | private void RemotingClient_ConnectionException(object sender, EventArgs<Exception> e) |
| 642 | 642 | { |
| 643 | 643 | StringBuilder status = new StringBuilder(); |
| 644 | − TcpClient remotingClient; | |
| 644 | + TlsClient remotingClient; | |
| 645 | 645 | |
| 646 | 646 | status.AppendFormat("Exception during connection attempt: {0}", e.Argument.Message); |
| 647 | 647 | status.AppendLine(); |
| 648 | 648 | status.AppendLine(); |
| 649 | 649 | UpdateStatus(UpdateType.Alarm, status.ToString()); |
| 650 | 650 | |
| 651 | − remotingClient = m_remotingClient as TcpClient; | |
| 651 | + remotingClient = m_remotingClient as TlsClient; | |
| 652 | 652 | |
| 653 | 653 | if ((object)remotingClient != null) |
| 654 | 654 | remotingClient.NetworkCredential = null; |
| @@ -1980,7 +1980,7 @@ namespace GSF.ServiceProcess · 1979 unmodified lines | ||
| 1980 | 1980 | { |
| 1981 | 1981 | ClientInfo requestSender = FindConnectedClient(e.Argument1); |
| 1982 | 1982 | |
| 1983 | − TcpServer remotingServer = m_remotingServer as TcpServer; | |
| 1983 | + TlsServer remotingServer = m_remotingServer as TlsServer; | |
| 1984 | 1984 | WindowsPrincipal clientPrincipal; |
| 1985 | 1985 | |
| 1986 | 1986 | if (requestSender == null) |