Line | |
---|
1 | using System;
|
---|
2 | using DistributedGA.Core.Domain;
|
---|
3 |
|
---|
4 | namespace 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.