Esempio n. 1
0
 public static NetMQHeartBeatClient CreateInstance(NetMQContext context, string address)
 {
     if (instance == null)
     {
         lock (syncLock)
         {
             if (instance == null)
             {
                 instance = new NetMQHeartBeatClient(context, address);
             }
         }
     }
     return(instance);
 }
Esempio n. 2
0
 public void Initialise(object state)
 {
     parent = (NetMQHeartBeatClient)state;
 }