using System; using DistributedGA.Core.Domain; namespace DistributedGA.Core.Interface { public interface IMessageService { /// /// Initializes a WCF service and host it with another thread /// /// current external ip address /// The port, on which the service was successfully hosted int Init(string ip); void Dispose(); event EventHandler OnDataRecieved; } }