Interface/Interface.cs
changeset 55 b5ed2e29be23
parent 43 86aad774b532
child 56 e86d84480b32
     1.1 --- a/Interface/Interface.cs	Mon Sep 01 19:23:36 2014 +0200
     1.2 +++ b/Interface/Interface.cs	Sun Sep 21 13:15:52 2014 +0200
     1.3 @@ -9,7 +9,7 @@
     1.4  using System.Runtime.Serialization;
     1.5  
     1.6  
     1.7 -namespace SharpDisplayInterface
     1.8 +namespace SharpDisplay
     1.9  {
    1.10      [DataContract]
    1.11      public class TextField
    1.12 @@ -39,9 +39,8 @@
    1.13      }
    1.14  
    1.15  
    1.16 -    [ServiceContract(   CallbackContract = typeof(IDisplayServiceCallback),
    1.17 -                        SessionMode = SessionMode.Required)]
    1.18 -    public interface IDisplayService
    1.19 +    [ServiceContract(   CallbackContract = typeof(ICallback), SessionMode = SessionMode.Required)]
    1.20 +    public interface IService
    1.21      {
    1.22          /// <summary>
    1.23          /// Set the name of this client.
    1.24 @@ -78,7 +77,7 @@
    1.25      }
    1.26  
    1.27  
    1.28 -    public interface IDisplayServiceCallback
    1.29 +    public interface ICallback
    1.30      {
    1.31          [OperationContract(IsOneWay = true)]
    1.32          void OnConnected();