Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 13887 was 13887, checked in by thasling, 7 years ago

prepared protoype for next meeting

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