예제 #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);
 }
예제 #2
0
 public void Initialise(object state)
 {
     parent = (NetMQHeartBeatClient)state;
 }