source: branches/thasling/DistributedGA/DistributedGA.Core/Interface/IMessageHandler.cs @ 13965

Last change on this file since 13965 was 13965, checked in by thasling, 5 years ago

#2615:
made minor changes

File size: 486 bytes
Line 
1using System.Collections.Generic;
2using DistributedGA.Core.Domain;
3
4namespace DistributedGA.Core.Interface {
5
6  public interface IMessageHandler {
7
8    void Init(string lanIpPrefix, string contactServerUrl, string problemInstance, int messageCacheCapacty, double communicationRate);
9
10    void PublishDataToNetwork(byte[][] data);
11
12    byte[][] GetDataFromNetwork();
13
14    PeerInfo GetPeerInfo();
15
16    List<PeerInfo> GetCurrentNetwork();
17
18    void Dispose();
19  }
20}
Note: See TracBrowser for help on using the repository browser.