using System.Collections.Generic; using DistributedGA.Core.Domain; namespace DistributedGA.Core.Interface { public interface IMessageHandler { void Init(string lanIpPrefix, string contactServerUrl, string problemInstance, int messageCacheCapacty, int communicationRate); //Registers at contract-server void PublishDataToNetwork(byte[][] data); byte[][] GetDataFromNetwork(); PeerInfo GetPeerInfo(); List GetCurrentNetwork(); void Dispose(); } }