Server/Services.cs
author sl
Fri, 15 Aug 2014 11:11:17 +0200
changeset 31 f19b04646b6a
parent 21 274a6b27c3f9
permissions -rw-r--r--
Fixing our client issue with static MainForm overwritten when using multiple clients.
That was basically our issue with broadcast not working the way it should.
     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 }