- Timestamp:
- 06/19/16 23:32:37 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/thasling/DistributedGA/DistributedGA.Core/Interface/IContactService.cs
r13887 r13924 7 7 using System.Threading.Tasks; 8 8 9 namespace DistributedGA.Core.Interface 10 { 11 [ServiceContract] 12 public interface IContactService 13 { 14 [OperationContract] 15 void RegisterPeer(PeerInfo source); //Registers own instance at the contact-server 9 namespace DistributedGA.Core.Interface { 10 [ServiceContract] 11 public interface IContactService { 12 [OperationContract] 13 void RegisterPeer(PeerInfo source); //Registers own instance at the contact-server 16 14 17 18 15 [OperationContract] 16 List<PeerInfo> GetPeerList(PeerInfo source); //Recieves all peers in the network from contact-server 19 17 20 21 18 [OperationContract] 19 void UpdateHeartbeat(PeerInfo source); //Sends heartbeat to contact-server 22 20 23 24 21 [OperationContract] 22 void MakeLog(PeerInfo source, string msg); //Used to log all peers at a single location 25 23 26 24 } 27 25 }
Note: See TracChangeset
for help on using the changeset viewer.