public void __shut_down() { if (__listener != null) { __listener.close(); __show_common_event("Structured Data Proxy Shutting down"); } }
public void __stop() { try { __socket.close(); //__worker.Join(); } catch (Exception ex) { string __err = string.Format("An error occurred while attempting to stop the HL7 listener: {0}", ex.Message); __ui_args.__event_message = __err; UpdateErrorUI(this, __ui_args); __logger.Error(__err); return; } }
public void __shut_down() { __socket.close(); __worker.Join(); }