public virtual Boolean Start() { try { if (!m_Active) { NativeFeed_Worker.RunWorkerAsync(); m_Active = true; } } catch { } return(m_Active); }
public virtual Boolean Stop() { try { if (m_Active) { NativeFeed_Worker.CancelAsync(); m_Active = false; } } catch { } return(!m_Active); }
public virtual Boolean Start() { try { if (!m_Active) { m_Client = new UdpClient(m_ClientEp); m_Client.Client.ReceiveTimeout = 500; NativeFeed_Worker.RunWorkerAsync(); m_Active = true; } } catch { } return(m_Active); }