Free cookie consent management tool by TermsFeed Policy Generator

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

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

#2615:
implemented migration strategies
log in HL now also logs exceptions of peers

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