Example #1
0
 public void StartConnect()
 {
     if (!IsConnectionAlive)
     {
         _ConnectWorkRunning = true;
         PlatDependant.RunBackground(prog => ConnectWork());
     }
 }
 public PersistentConnectionRequestFactory(ObjClient con) : base(con)
 {
     _ShouldLock = true;
     PlatDependant.RunBackground(ReadWork);
     PlatDependant.RunBackground(WriteWork);
 }