Last change
on this file since 13905 was
13887,
checked in by thasling, 8 years ago
|
prepared protoype for next meeting
|
File size:
555 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using DistributedGA.Core.Domain;
|
---|
3 |
|
---|
4 | namespace 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.