Last change
on this file since 13905 was
13887,
checked in by thasling, 8 years ago
|
prepared protoype for next meeting
|
File size:
815 bytes
|
Line | |
---|
1 | using DistributedGA.Core.Domain;
|
---|
2 | using System;
|
---|
3 | using System.Collections.Generic;
|
---|
4 | using System.Linq;
|
---|
5 | using System.ServiceModel;
|
---|
6 | using System.Text;
|
---|
7 | using System.Threading.Tasks;
|
---|
8 |
|
---|
9 | namespace DistributedGA.ContactServer
|
---|
10 | {
|
---|
11 | [ServiceContract]
|
---|
12 | public interface IContactService
|
---|
13 | {
|
---|
14 | [OperationContract]
|
---|
15 | void RegisterPeer(PeerInfo source); //Registers own instance at the contact-server
|
---|
16 |
|
---|
17 | [OperationContract]
|
---|
18 | List<PeerInfo> GetPeerList(PeerInfo source); //Recieves all peers in the network from contact-server
|
---|
19 |
|
---|
20 | [OperationContract]
|
---|
21 | void UpdateHeartbeat(PeerInfo source); //Sends heartbeat to contact-server
|
---|
22 |
|
---|
23 | [OperationContract]
|
---|
24 | void MakeLog(PeerInfo source, string msg); //Used to log all peers at a single location
|
---|
25 |
|
---|
26 | }
|
---|
27 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.