source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/IHS BMX Framework/IndianHealthService.BMXNet/Sevices/BMXNetBrokerOverAnotherBroker.cs@ 1146

Last change on this file since 1146 was 1146, checked in by Sam Habiel, 13 years ago

Initial Import of BMX4

File size: 1.4 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace IndianHealthService.BMXNet.Services
6{
7 /// <summary>
8 /// To test the BMXNetBroker class, we can use one instance of BMXNetBroker
9 /// to be the authenicated transport and use the receiver to be the
10 /// encapsulated BMX interaction.
11 /// </summary>
12 ///
13/*
14 public class BMXNetBrokerOverAnotherBroker:BMXNetBroker
15 {
16
17 public static BMXNetBroker OpenOn(BMXNetBroker aNetBroker)
18 {
19 BMXNetBrokerOverAnotherBroker answer = new BMXNetBrokerOverAnotherBroker();
20 answer.NetBroker = aNetBroker;
21 return answer;
22 }
23
24 private BMXNetBroker _NetBroker = null;
25
26 public BMXNetBroker NetBroker
27 {
28 get { return _NetBroker; }
29 set { _NetBroker = value; }
30 }
31
32 protected override string SendReceiveString(string sendString, string multi)
33 {
34 return this.DecodeReceiveString(this.NetBroker.TransmitRPC("CIABMX", this.EncodeSendString(sendString,multi)));
35 }
36
37 public override string GetLoginFacility(String aDuz)
38 {
39 return this.NetBroker.GetLoginFacility(aDuz);
40 }
41
42 public override bool IsConnected
43 {
44 get
45 {
46 return this.NetBroker.IsConnected;
47 }
48 }
49 }
50 */
51}
Note: See TracBrowser for help on using the repository browser.