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