- Timestamp:
- 01/19/16 09:49:35 (9 years ago)
- Location:
- branches/thasling/DistributedGA/DistributedGA.Core/Interface
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/thasling/DistributedGA/DistributedGA.Core/Interface/IMessageContract.cs
r13538 r13553 7 7 public interface IMessageContract { 8 8 [OperationContract] 9 void Send Population(PeerInfo sender, SolutionInfo[] population);9 void SendData(PeerInfo sender, SolutionInfo[] data); 10 10 11 11 event EventHandler<MessageRecieveEventArgs> MessageRecieved; -
branches/thasling/DistributedGA/DistributedGA.Core/Interface/IMessageHandler.cs
r13547 r13553 6 6 void Init(); //Registers at contract-server 7 7 8 void Publish MigrationInfo(SolutionInfo[] population);8 void PublishDataToNetwork(SolutionInfo[] data); 9 9 10 SolutionInfo[] Get MigrationInfo();10 SolutionInfo[] GetDataFromNetwork(); 11 11 12 12 PeerInfo GetPeerInfo(); -
branches/thasling/DistributedGA/DistributedGA.Core/Interface/IMessageSender.cs
r13524 r13553 1 1 using DistributedGA.Core.Domain; 2 using System;3 using System.Collections.Generic;4 using System.Linq;5 using System.Text;6 using System.Threading.Tasks;7 2 8 namespace DistributedGA.Core.Interface 9 { 10 public interface IMessageSender 11 { 12 void Init(PeerInfo source); 3 namespace DistributedGA.Core.Interface { 4 public interface IMessageSender { 5 void Init(PeerInfo source); 13 6 14 void SendPopulation(PeerInfo destination, SolutionInfo[] population);15 7 void SendData(PeerInfo destination, SolutionInfo[] data); 8 } 16 9 } -
branches/thasling/DistributedGA/DistributedGA.Core/Interface/IMessageService.cs
r13547 r13553 13 13 void Dispose(); 14 14 15 event EventHandler<MessageRecieveEventArgs> On PopulationRecieved;15 event EventHandler<MessageRecieveEventArgs> OnDataRecieved; 16 16 } 17 17 }
Note: See TracChangeset
for help on using the changeset viewer.