GSF.ServiceProcess.ServiceHelper.SendUpdateClientStatusResponse C# (CSharp) Method

SendUpdateClientStatusResponse() private method

private SendUpdateClientStatusResponse ( System.Guid clientID, UpdateType type, string responseMessage, bool telnetMessage = false ) : void
clientID System.Guid
type UpdateType
responseMessage string
telnetMessage bool
return void
        private void SendUpdateClientStatusResponse(Guid clientID, UpdateType type, string responseMessage, bool telnetMessage = false)
        {
            if (string.IsNullOrEmpty(responseMessage) || (clientID == m_remoteCommandClientID && !telnetMessage))
                return;

            ServiceResponse response = new ServiceResponse();
            response.Type = "UPDATECLIENTSTATUS-" + type.ToString().ToUpper();
            response.Message = CurtailMessageLength(responseMessage);
            SendResponse(clientID, response);

            OnUpdatedStatus(clientID, response.Message, type);
        }
ServiceHelper