- Timestamp:
- 01/18/16 15:28:29 (9 years ago)
- Location:
- branches/thasling/DistributedGA/DistributedGA.Core/Implementation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/thasling/DistributedGA/DistributedGA.Core/Implementation/PeerNetworkMessageHandler.cs
r13541 r13547 24 24 private ConcurrentQueue<SolutionInfo> writeQueue; 25 25 private ConcurrentQueue<SolutionInfo> readQueue; 26 private bool collectingInFirstQueue = true; //currently first queue is filled with recieved populations27 26 28 27 //uses IMessageService for recieving population from one peer at once … … 55 54 } catch (Exception ex) { 56 55 AddError("PeerNetworkMessageHandler.Init", ex); 56 } 57 } 58 59 public void Dispose() { 60 try { 61 host.Dispose(); 62 } catch (Exception ex) { 63 AddError("PeerNetworkMessageHandler.Dispose", ex); 57 64 } 58 65 } … … 144 151 } 145 152 } 153 146 154 } 147 155 } -
branches/thasling/DistributedGA/DistributedGA.Core/Implementation/WcfMessageService.cs
r13541 r13547 42 42 } 43 43 44 public void Dispose() { 45 _ResetEvent.Set(); 46 } 47 44 48 private int FreeTcpPort() { 45 49 TcpListener l = new TcpListener(IPAddress.Loopback, 0); … … 55 59 } 56 60 } 57 58 61 } 59 62 }
Note: See TracChangeset
for help on using the changeset viewer.