using DistributedGA.Core.Domain; using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.Text; using System.Threading.Tasks; namespace DistributedGA.ContactServer { [ServiceContract] public interface IContactService { [OperationContract] void RegisterPeer(PeerInfo source); //Registers own instance at the contact-server [OperationContract] List GetPeerList(PeerInfo source); //Recieves all peers in the network from contact-server [OperationContract] void UpdateHeartbeat(PeerInfo source); //Sends heartbeat to contact-server } }