Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 13956 was 13956, checked in by thasling, 8 years ago

#2615:
finally fixed bug concerning message send to the wrong peers
also made communicationRate and messageCacheCapacity as paramters
integration in P2PMigrationAnalyzer still TBD

File size: 514 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, int communicationRate); //Registers at contract-server
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.