Server/Services.cs
author sl
Sat, 30 Aug 2014 18:45:06 +0200
changeset 46 0c0ee86760ea
parent 21 274a6b27c3f9
permissions -rw-r--r--
Adding support for display type selection.
     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 }