示例#1
0
 public PnrpTransferEngine(string localServerClassifier, int localServerPort)
 {
     if (pnrpManager == null)
     {
         lock (SharedObject)
         {
             if (pnrpManager == null)
             {
                 pnrpManager = new PNRPManager(localServerClassifier, localServerPort);
             }
         }
     }
 }
        public PnrpTransferEngine(string localServerClassifier, int localServerPort)
        {
            if (pnrpManager == null)
            {
                lock (SharedObject)
                {
                    if (pnrpManager == null)
                    {

                        pnrpManager = new PNRPManager(localServerClassifier, localServerPort);
                    }
                }
            }
        }