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