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