Example #1
0
 public void Stop()
 {
     if (initiator.isLoggedOn())
     {
         try
         {
             initiator.stop();
         }
         catch (Exception ex)
         {
             Logger.Error("SocketInitiator stop error", ex);
             throw;
         }
     }
 }
Example #2
0
 public bool IsLogon()
 {
     return(sock != null && sock.isLoggedOn());
 }
Example #3
0
 public static bool IsLoggedOn()
 {
     return(m_initiator.isLoggedOn());
 }