source:
branches/thasling/DistributedGA/DistributedGA.Core/Interface/IMessageContract.cs
Last change on this file was 13971, checked in by thasling, 9 years ago | |
---|---|
File size: 339 bytes |
Rev | Line | |
---|---|---|
[13538] | 1 | using System; |
[13524] | 2 | using System.ServiceModel; |
[13538] | 3 | using DistributedGA.Core.Domain; |
[13524] | 4 | |
[13924] | 5 | namespace DistributedGA.Core.Interface { |
[13524] | 6 | |
[13924] | 7 | [ServiceContract] |
8 | public interface IMessageContract { | |
[13887] | 9 | |
[13924] | 10 | [OperationContract] |
[13971] | 11 | void SendData(PeerInfo sender, byte[] data); |
[13887] | 12 | |
[13924] | 13 | event EventHandler<MessageRecieveEventArgs> MessageRecieved; |
14 | } | |
[13524] | 15 | } |
Note: See TracBrowser
for help on using the repository browser.