This question is really about "Am I doing this correctly?"
Basically what i have is a Service with the following methods
public void SendCommand(string id, TechCommands.MediaCommands mediaCommand, string fileName)
public TechCommands.MediaCommands CheckMediaCommand(string id)
And i have many people using this service, but only 2 connect to each other at a time and only one person sends commands while the only person should only receive commands if that person send him a command.
As of now in WPF im doing this with DispatherTimers
private DispatcherTimer MediaCommandTimer = new DispatcherTimer();
MediaCommandTimer.Tick += new EventHandler(MediaCommandTimerTick);
MediaCommandTimer.Interval = TimeSpan.FromMilliseconds(10);
private void MediaCommandTimerTick(object sender, EventArgs e)
Is this the correct way for that one person to keep checking if a command was send to him?
Or is WCF is there a way to automatically keep calling th
View Complete Post