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, string problemInstance, int messageCacheCapacty, double communicationRate);
|
---|
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.