Still trying to setup WCF for us to work nicely.
Now using multi threading and reliable session.
Implementing thread safe functions where needed.
Enforcing session mode.
Fixing bug in marquee label as we forgot to reset current position when text is changed.
2 using System.ServiceModel;
3 using System.Collections;
6 namespace SharpDisplayManager
9 [ServiceContract(CallbackContract = typeof(IDisplayServiceCallback))]
10 public interface IDisplayService
12 [OperationContract(IsOneWay = true)]
13 void Connect(string aClientName);
15 [OperationContract(IsOneWay = true)]
16 void SetText(int aLineIndex, string aText);
18 [OperationContract(IsOneWay = true)]
19 void SetTexts(System.Collections.Generic.IList<string> aTexts);
23 public interface IDisplayServiceCallback
25 [OperationContract(IsOneWay = true)]
28 [OperationContract(IsOneWay = true)]
29 void OnServerClosing();