| using System;
|
| 1:using System.Collections.Generic;
|
| 2:using System.Text;
|
| 3:using ServiceAgent;
|
| 4:using System.ServiceModel;
|
| 5:using System.ServiceModel.Channels;
|
| 6:using System.Security;
|
| 7:using BusinessEntity;
|
| 8:
|
| 9:namespace ProxyService.Module1
|
| 10:{
|
| 11: [System.Diagnostics.DebuggerStepThroughAttribute()]
|
| 12: [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
| 13: public partial class RoomAgent : System.ServiceModel.ClientBase<IRoomAgent>, IRoomAgent
|
| 14: {
|
| 15: public RoomAgent()
|
| 16: {
|
| 17: }
|
| 18:
|
| 19: public RoomAgent(string endpointConfigurationName)
|
| 20: :
|
| 21: base(endpointConfigurationName)
|
| 22: {
|
| 23: }
|
| 24:
|
| 25: public RoomAgent(string endpointConfigurationName, string remoteAddress)
|
| 26: :
|
| 27: base(endpointConfigurationName, remoteAddress)
|
| 28: {
|
| 29: }
|
| 30:
|
| 31: public RoomAgent(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
|
| 32: :
|
| 33: base(endpointConfigurationName, remoteAddress)
|
| 34: {
|
| 35: }
|
| 36:
|
| 37: public RoomAgent(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
|
| 38: :
|
| 39: base(binding, remoteAddress)
|
| 40: {
|
| 41: }
|
| 42:
|
| 43: public Room CreateRoom(Room room)
|
| 44: {
|
| 45: return base.Channel.CreateRoom(room);
|
| 46: }
|
| 47:
|
| 48: public Room GetRoom(int roomId)
|
| 49: {
|
| 50: return base.Channel.GetRoom(roomId);
|
| 51: }
|
| 52:
|
| 53:
|
| 54:
|
| 55: }
|
| 56:
|
| 57: [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
| 58: [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "IRegistrationServiceAgent")]
|
| 59: public interface IRoomAgent
|
| 60: {
|
| 61: [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRoomAgent/CreateRoom", ReplyAction = "http://tempuri.org/IRoomAgent/CreateRoomResponse")]
|
| 62: Room CreateRoom(Room room);
|
| 63:
|
| 64: [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRoomAgent/GetRoom", ReplyAction = "http://tempuri.org/IRoomAgent/GetRoomResponse")]
|
| 65: Room GetRoom(int roomId);
|
| 66:
|
| 67: }
|
| 68:
|
| 69:
|
| 70:
|
| 71:
|
| 72: [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
|
| 73: public interface IRoomAgentChannel : IRoomAgent, System.ServiceModel.IClientChannel
|
| 74: {
|
| 75:
|
| 76: }
|
| 77:}
|
| 78: |