public GeolocalizationBackgroundWorker(INetworkClient networkClient, IButterflyMobileClient butterflyMobileClient) : base(20000, System.Threading.ThreadPriority.BelowNormal) { this.butterflyMobileClient = butterflyMobileClient; this.networkClient = networkClient; this.genericTCPPacketSender = new GenericTCPPacketSender <ConnectedClientInfoPacket>(this.networkClient); }
public GeolocalizationService(INetworkClient client, IButterflyMobileClient butterflyMobileClient) : base() { this.butterflyMobileClient = butterflyMobileClient; this.geolocalizationBackgroundWorker = new GeolocalizationBackgroundWorker(client, butterflyMobileClient); }