using System.Collections.Generic; using DistributedGA.Core.Domain; using DistributedGA.Core.Interface; namespace DistributedGA.Core.Implementation { public class TestPeerListManager : IPeerListManager { public List GetPeerList() { PeerInfo pi1 = new PeerInfo() { IpAddress = "localhost", Port = 3030 }; PeerInfo pi2 = new PeerInfo() { IpAddress = "localhost", Port = 3031 }; PeerInfo pi3 = new PeerInfo() { IpAddress = "localhost", Port = 3032 }; PeerInfo pi4 = new PeerInfo() { IpAddress = "localhost", Port = 3033 }; PeerInfo pi5 = new PeerInfo() { IpAddress = "localhost", Port = 3034 }; return new List() { pi1, pi2, pi3, pi4, pi5 }; } public void SendLogToServer(string msg) { } public void Init(PeerInfo source, string contactServerUrl) { } } }