Last change
on this file since 13548 was
13547,
checked in by thasling, 9 years ago
|
Added Dispose() to MessageHandler and WCF service host
|
File size:
515 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using DistributedGA.Core.Domain;
|
---|
3 |
|
---|
4 | namespace DistributedGA.Core.Interface {
|
---|
5 | public interface IMessageService {
|
---|
6 | /// <summary>
|
---|
7 | /// Initializes a WCF service and host it with another thread
|
---|
8 | /// </summary>
|
---|
9 | /// <param name="ip">current external ip address</param>
|
---|
10 | /// <returns>The port, on which the service was successfully hosted</returns>
|
---|
11 | int Init(string ip);
|
---|
12 |
|
---|
13 | void Dispose();
|
---|
14 |
|
---|
15 | event EventHandler<MessageRecieveEventArgs> OnPopulationRecieved;
|
---|
16 | }
|
---|
17 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.