Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.ServiceModel;
- using System.Text;
- namespace ChatClient
- {
- // our hosted interface
- [ServiceContract(CallbackContract = typeof(IChatService))]
- public interface IChatService
- {
- [OperationContract(IsOneWay = true)]
- void Join(string memberName);
- [OperationContract(IsOneWay = true)]
- void Leave(string memberName);
- [OperationContract(IsOneWay = true)]
- void SendMessage(string memberName, string message);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement