Пример #1
0
 public void CleanUpServer()
 {
     if (server != null)
     {
         server.Stop();
     }
     if (tcpclient != null)
     {
         tcpclient.Stop();
     }
 }
Пример #2
0
 public static void TearDown()
 {
     if (server != null)
     {
         server.Stop();
     }
     if (tcpclient != null)
     {
         tcpclient.Stop();
     }
 }
Пример #3
0
 public void CleanUpServer()
 {
     if (tcpserver != null)
     {
         tcpserver.Stop();
     }
     if (tcpclient != null)
     {
         tcpclient.Stop();
     }
     TCPObjectTransportChannel.TearDown();
 }