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 |
Rev | Line | |
---|---|---|
[13547] | 1 | using System.Collections.Generic; |
2 | using DistributedGA.Core.Domain; | |
[13524] | 3 | |
[13924] | 4 | namespace DistributedGA.Core.Interface { |
[13524] | 5 | |
[13924] | 6 | public interface IMessageHandler { |
[13524] | 7 | |
[13924] | 8 | void Init(string lanIpPrefix, string contactServerUrl); //Registers at contract-server |
[13524] | 9 | |
[13924] | 10 | void PublishDataToNetwork(byte[][] data); |
[13524] | 11 | |
[13924] | 12 | byte[][] GetDataFromNetwork(); |
[13547] | 13 | |
[13924] | 14 | PeerInfo GetPeerInfo(); |
[13887] | 15 | |
[13924] | 16 | List<PeerInfo> GetCurrentNetwork(); |
[13887] | 17 | |
[13924] | 18 | void Dispose(); |
19 | } | |
[13524] | 20 | } |
Note: See TracBrowser
for help on using the repository browser.