Last change
on this file since 13524 was
13524,
checked in by thasling, 8 years ago
|
Upload des Projekts letztendlich, trotz buggendes Clients...
|
File size:
1.0 KB
|
Rev | Line | |
---|
[13524] | 1 | using DistributedGA.Core.Domain;
|
---|
| 2 | using DistributedGA.Core.Interface;
|
---|
| 3 | using System;
|
---|
| 4 | using System.Collections.Generic;
|
---|
| 5 | using System.Linq;
|
---|
| 6 | using System.ServiceModel;
|
---|
| 7 | using System.Text;
|
---|
| 8 | using System.Threading.Tasks;
|
---|
| 9 |
|
---|
| 10 | namespace DistributedGA.Core.Implementation
|
---|
| 11 | {
|
---|
| 12 | public class TestPeerListManager : IPeerListManager
|
---|
| 13 | {
|
---|
| 14 | public void Init(PeerInfo source)
|
---|
| 15 | {
|
---|
| 16 |
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | public List<PeerInfo> GetPeerList()
|
---|
| 20 | {
|
---|
| 21 | PeerInfo pi1 = new PeerInfo() { IpAddress = "localhost", Port = 3030 };
|
---|
| 22 | PeerInfo pi2 = new PeerInfo() { IpAddress = "localhost", Port = 3031 };
|
---|
| 23 | PeerInfo pi3 = new PeerInfo() { IpAddress = "localhost", Port = 3032 };
|
---|
| 24 | PeerInfo pi4 = new PeerInfo() { IpAddress = "localhost", Port = 3033 };
|
---|
| 25 | PeerInfo pi5 = new PeerInfo() { IpAddress = "localhost", Port = 3034 };
|
---|
| 26 | return new List<PeerInfo>() { pi1, pi2, pi3, pi4, pi5 };
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | public void SendLogToServer(string msg)
|
---|
| 30 | {
|
---|
| 31 |
|
---|
| 32 | }
|
---|
| 33 | }
|
---|
| 34 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.