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
|
Rev | Line | |
---|
[13547] | 1 | using System;
|
---|
| 2 | using DistributedGA.Core.Domain;
|
---|
[13524] | 3 |
|
---|
[13887] | 4 | namespace DistributedGA.Core.Interface
|
---|
| 5 | {
|
---|
[13524] | 6 |
|
---|
[13887] | 7 | public interface IMessageService
|
---|
| 8 | {
|
---|
[13547] | 9 |
|
---|
[13887] | 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 | }
|
---|
[13524] | 21 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.