using System; using System.Collections.Generic; using DistributedGA.Core.Domain; using DistributedGA.Core.Util; namespace DistributedGA.Core.Interface { public interface IMessageHandler { void Init(string lanIpPrefix, string contactServerUrl, string problemInstance, int messageCacheCapacty, double communicationRate); void PublishDataToNetwork(ByteArrayWrapper data); List> GetDataFromNetwork(); PeerInfo GetPeerInfo(); List GetCurrentNetwork(); void Dispose(); event EventHandler ExceptionOccurend; } }