예제 #1
0
파일: WSServer.cs 프로젝트: BdGL3/CXPortal
        public override void Logout(LogOutInfo logOutInfo)
        {
            try
            {
                m_CargoHostEndPoint.LogOut(logOutInfo.WorkstationId);

                lock (_updateCaseAssignmentLock)
                {
                    base.ClearAssignments(logOutInfo.WorkstationId);
                    CaseListUpdateEvent(String.Empty, logOutInfo.WorkstationId, String.Empty, false);
                    RemoveLoadBalanceWorkstation(logOutInfo.WorkstationId);
                }

                if (m_TIPManagerComm != null)
                {
                    m_TIPManagerComm.ClearAssignments(logOutInfo.WorkstationId);
                }
            }
            catch (Exception ex)
            {
                throw new FaultException(new FaultReason(ex.Message));
            }
        }
예제 #2
0
        private void button2_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                LogOutInfo logOutInfo = new LogOutInfo(m_AWSId);
                m_AWSCommEndPoint1.Logout(logOutInfo);

                Tab1LogListBox.Items.Add("Result: Successful");
            }
            catch (Exception ex)
            {
                Tab1LogListBox.Items.Add(ex.Message.ToString());
            }
        }
예제 #3
0
 public void Logout (LogOutInfo logOutInfo)
 {
     m_CaseSourceManager.Logout(logOutInfo);
 }