diff -r 1a85ec255882 -r e3d394dd0388 Server/Servers.cs --- a/Server/Servers.cs Tue Aug 12 21:27:35 2014 +0200 +++ b/Server/Servers.cs Wed Aug 13 23:02:40 2014 +0200 @@ -1,6 +1,7 @@ using System; using System.Windows.Forms; using System.Collections; +using System.ServiceModel; namespace SharpDisplayManager { @@ -8,6 +9,7 @@ /// Implement our display service. /// This class is instantiated anew whenever a client send a request. /// + [ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Reentrant)] class DisplayServer : IDisplayService { //From IDisplayService @@ -41,6 +43,13 @@ } } + // + public void Connect(string aClientName) + { + IDisplayServiceCallback callback = OperationContext.Current.GetCallbackChannel(); + callback.OnConnected(); + } + } }