Free cookie consent management tool by TermsFeed Policy Generator

source: branches/thasling/DistributedGA/DistributedGA.Core/Interface/IMessageService.cs @ 13524

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: 636 bytes
Line 
1using DistributedGA.Core.Domain;
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using System.Text;
6using System.Threading.Tasks;
7
8namespace DistributedGA.Core.Interface
9{
10    public interface IMessageService
11    {
12        /// <summary>
13        /// Initializes a WCF service and host it with another thread
14        /// </summary>
15        /// <param name="ip">current external ip address</param>
16        /// <returns>The port, on which the service was successfully hosted</returns>
17        int Init(string ip);
18
19        event EventHandler<MessageRecieveEventArgs> OnPopulationRecieved;
20    }
21}
Note: See TracBrowser for help on using the repository browser.