Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file was 13924, checked in by thasling, 8 years ago

#2615:
delete unneeded project, appended code style

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