source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/IHS BMX Framework/IndianHealthService.BMXNet.EHR/Services/BMXNetEhrSessionPool.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.5 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using IndianHealthService.BMXNet.Services;
5
6namespace IndianHealthService.BMXNet.CIA.Services
7{
8 public class BMXNetEhrSessionPool:RemoteSessionPool
9 {
10 #region RemoteSessionPool Members
11
12 public bool HasAvailableSession
13 {
14 get { return false; }
15 }
16
17 public int AvailableSessionCount
18 {
19 get { return 0;}
20 }
21
22 public int MaxSessions
23 {
24 get
25 {
26 return 0;
27 }
28 set
29 {
30
31 }
32 }
33
34 private RemoteSession _onlySession = null;
35
36 public RemoteSession OnlySession
37 {
38 get { return _onlySession; }
39 set { _onlySession = value; }
40 }
41
42 public RemoteSession OpenSession()
43 {
44 if (this.OnlySession == null)
45 {
46 BMXNetRemoteSession session = new BMXNetRemoteSession();
47 session.IsPrimary = true;
48 session.Begin(this.Source.op, this);
49 this.OnlySession = session;
50
51 }
52
53 return this.OnlySession;
54 }
55
56 public int IdleSessionCount
57 {
58 get { return 0; }
59 }
60
61 public void TerminateIdleSessions()
62 {
63
64 }
65
66 public void Close()
67 {
68
69 }
70
71 #endregion
72 }
73}
Note: See TracBrowser for help on using the repository browser.