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();