source:
branches/thasling/DistributedGA/DistributedGA.Core/Interface/IMessageHandler.cs
@
13924
Last change on this file since 13924 was 13924, checked in by thasling, 8 years ago | |
---|---|
File size: 442 bytes |
Line | |
---|---|
1 | using System.Collections.Generic; |
2 | using DistributedGA.Core.Domain; |
3 | |
4 | namespace DistributedGA.Core.Interface { |
5 | |
6 | public interface IMessageHandler { |
7 | |
8 | void Init(string lanIpPrefix, string contactServerUrl); //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.