Last change
on this file since 13956 was
13956,
checked in by thasling, 8 years ago
|
#2615:
finally fixed bug concerning message send to the wrong peers
also made communicationRate and messageCacheCapacity as paramters
integration in P2PMigrationAnalyzer still TBD
|
File size:
514 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, string problemInstance, int messageCacheCapacty, int communicationRate); //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.