Rev | Line | |
---|
[13547] | 1 | using System;
|
---|
| 2 | using DistributedGA.Core.Domain;
|
---|
[13524] | 3 |
|
---|
[13924] | 4 | namespace DistributedGA.Core.Interface {
|
---|
[13524] | 5 |
|
---|
[13924] | 6 | public interface IMessageService {
|
---|
[13547] | 7 |
|
---|
[13924] | 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);
|
---|
[13887] | 14 |
|
---|
[13924] | 15 | void Dispose();
|
---|
[13887] | 16 |
|
---|
[13924] | 17 | event EventHandler<MessageRecieveEventArgs> OnDataRecieved;
|
---|
| 18 | }
|
---|
[13524] | 19 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.