public UdpCommuReceive(Communication.IndexOutputType indexOutputType, UdpCommu udpCommu, notifyReplyEventHandler notifyDone) { this.udpCommu = udpCommu; this.notifyDone = notifyDone; Thread childThread = new Thread(new ThreadStart(CommuReceiveThread)); childThread.IsBackground = true; childThread.Start(); }
protected void RegisterSampleEvent(notifyReplyEventHandler callBack) { sampleEvent = callBack; }