Last change
on this file since 13887 was
13887,
checked in by thasling, 8 years ago
|
prepared protoype for next meeting
|
File size:
968 bytes
|
Line | |
---|
1 | using System.Collections.Generic;
|
---|
2 | using DistributedGA.Core.Domain;
|
---|
3 | using DistributedGA.Core.Interface;
|
---|
4 |
|
---|
5 | namespace DistributedGA.Core.Implementation
|
---|
6 | {
|
---|
7 | public class TestPeerListManager : IPeerListManager
|
---|
8 | {
|
---|
9 |
|
---|
10 |
|
---|
11 | public List<PeerInfo> GetPeerList()
|
---|
12 | {
|
---|
13 | PeerInfo pi1 = new PeerInfo() { IpAddress = "localhost", Port = 3030 };
|
---|
14 | PeerInfo pi2 = new PeerInfo() { IpAddress = "localhost", Port = 3031 };
|
---|
15 | PeerInfo pi3 = new PeerInfo() { IpAddress = "localhost", Port = 3032 };
|
---|
16 | PeerInfo pi4 = new PeerInfo() { IpAddress = "localhost", Port = 3033 };
|
---|
17 | PeerInfo pi5 = new PeerInfo() { IpAddress = "localhost", Port = 3034 };
|
---|
18 | return new List<PeerInfo>() { pi1, pi2, pi3, pi4, pi5 };
|
---|
19 | }
|
---|
20 |
|
---|
21 | public void SendLogToServer(string msg)
|
---|
22 | {
|
---|
23 |
|
---|
24 | }
|
---|
25 |
|
---|
26 | public void Init(PeerInfo source, string contactServerUrl)
|
---|
27 | {
|
---|
28 |
|
---|
29 | }
|
---|
30 | }
|
---|
31 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.