Server/Services.cs
author sl
Thu, 14 Aug 2014 09:11:27 +0200
changeset 22 cac466b1b6e6
parent 21 274a6b27c3f9
permissions -rw-r--r--
Adding interface library.
     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 }