Server/Services.cs
author sl
Sun, 31 Aug 2014 18:33:05 +0200
changeset 52 b22b0127afa4
parent 21 274a6b27c3f9
permissions -rw-r--r--
Adding support for power on/off.
     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 }