Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using DistributedGA.Core.Domain;
|
---|
4 | using DistributedGA.Core.Util;
|
---|
5 |
|
---|
6 | namespace DistributedGA.Core.Interface {
|
---|
7 |
|
---|
8 | public interface IMessageHandler {
|
---|
9 |
|
---|
10 | void Init(string lanIpPrefix, string contactServerUrl, string problemInstance, int messageCacheCapacty, double communicationRate);
|
---|
11 |
|
---|
12 | void PublishDataToNetwork(ByteArrayWrapper data);
|
---|
13 |
|
---|
14 | List<KeyValuePair<PeerInfo, ByteArrayWrapper>> GetDataFromNetwork();
|
---|
15 |
|
---|
16 | PeerInfo GetPeerInfo();
|
---|
17 |
|
---|
18 | List<PeerInfo> GetCurrentNetwork();
|
---|
19 |
|
---|
20 | void Dispose();
|
---|
21 |
|
---|
22 | event EventHandler<Exception> ExceptionOccurend;
|
---|
23 | }
|
---|
24 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.