コード例 #1
0
 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);
 }
コード例 #2
0
 public GeolocalizationService(INetworkClient client,
                               IButterflyMobileClient butterflyMobileClient)
     : base()
 {
     this.butterflyMobileClient           = butterflyMobileClient;
     this.geolocalizationBackgroundWorker = new GeolocalizationBackgroundWorker(client, butterflyMobileClient);
 }