Server/Services.cs
author sl
Sun, 31 Aug 2014 21:34:58 +0200
changeset 53 f7ad2dce46a9
parent 21 274a6b27c3f9
permissions -rw-r--r--
GP1212A02: Clock support.
     1 using System;
     2 using System.ServiceModel;
     3 using System.Collections;
     4 
     5 
     6 namespace SharpDisplayManager
     7 {
     8     /*
     9     [ServiceContract(CallbackContract = typeof(IDisplayServiceCallback))]
    10     public interface IDisplayService
    11     {
    12         [OperationContract(IsOneWay = true)]
    13         void Connect(string aClientName);
    14 
    15         [OperationContract(IsOneWay = true)]
    16         void SetText(int aLineIndex, string aText);
    17 
    18         [OperationContract(IsOneWay = true)]
    19         void SetTexts(System.Collections.Generic.IList<string> aTexts);
    20     }
    21 
    22 
    23     public interface IDisplayServiceCallback
    24     {
    25         [OperationContract(IsOneWay = true)]
    26         void OnConnected();
    27 
    28         [OperationContract(IsOneWay = true)]
    29         void OnServerClosing();
    30     }
    31      */
    32 }