public HFTDnsRunnerHelper(HFTEventProcessor ep, string ipv4Address, string ipv6Address, int port) { eventProcessor_ = ep; ipv4Address_ = ipv4Address; ipv6Address_ = ipv6Address; port_ = port; }
public void Start(string ipv4Address, string ipv6Address, int port) { GameObject go = new GameObject("HFTDnsEventProcessor"); eventProcessor_ = go.AddComponent<HFTEventProcessor>(); helper_ = new HFTDnsRunnerHelper(eventProcessor_, ipv4Address, ipv6Address, port); dnsThread_ = new Thread(helper_.DoWork); dnsThread_.Start(); }
public void Setup(HFTEventProcessor eventProcessor) { m_eventProcessor = eventProcessor; }