Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 16189 was 14253, checked in by gkronber, 8 years ago

bugfixing (memory leaks)

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