Free cookie consent management tool by TermsFeed Policy Generator

source: branches/thasling/DistributedGA/DistributedGA.ContactServer/IContactService.cs @ 13924

Last change on this file since 13924 was 13924, checked in by thasling, 7 years ago

delete unneeded project, appended code style

File size: 771 bytes
[13524]1using DistributedGA.Core.Domain;
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using System.ServiceModel;
6using System.Text;
7using System.Threading.Tasks;
[13924]9namespace DistributedGA.ContactServer {
10  [ServiceContract]
11  public interface IContactService {
12    [OperationContract]
13    void RegisterPeer(PeerInfo source); //Registers own instance at the contact-server
[13924]15    [OperationContract]
16    List<PeerInfo> GetPeerList(PeerInfo source); //Recieves all peers in the network from contact-server
[13924]18    [OperationContract]
19    void UpdateHeartbeat(PeerInfo source); //Sends heartbeat to contact-server
[13924]21    [OperationContract]
22    void MakeLog(PeerInfo source, string msg); //Used to log all peers at a single location
[13924]24  }
Note: See TracBrowser for help on using the repository browser.