示例#1
0
        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));
            }
        }