Exemple #1
0
 public void RequestConnStatus()
 {
     foreach (string station in _ConnectedConsoleList)
     {
         IMessageServiceCallback tmpCallback = _ConnectedConsoleDict[station];
         if (((ICommunicationObject)tmpCallback).State == CommunicationState.Opened)
         {
             try
             {
                 tmpCallback.ConsoleRcvConnStatus();
             }
             catch (Exception E)
             {
                 //Catch those console crash and proxy is still open
                 //trigger to drop this station from connected list
             }
         }
         else
         {
             //if aborted or closed still in this list
             //trigger to drop this station from connected list
         }
     }
 }