1 package ca.uhn.hl7v2.hoh.hapi.client;
2
3 import java.net.URL;
4 import java.util.concurrent.ScheduledExecutorService;
5
6 import ca.uhn.hl7v2.hoh.api.IClientMultithreaded;
7 import ca.uhn.hl7v2.hoh.raw.client.HohRawClientMultithreaded;
8 import ca.uhn.hl7v2.parser.Parser;
9
10
11
12
13
14
15
16
17
18
19
20
21 public class HohClientMultithreaded extends AbstractClient<HohRawClientMultithreaded> implements IClientMultithreaded {
22
23
24
25
26 public HohClientMultithreaded() {
27 super(new HohRawClientMultithreaded());
28 }
29
30
31
32
33
34
35
36
37
38
39
40
41 public HohClientMultithreaded(String theHost, int thePort, String theUriPath) {
42 super(new HohRawClientMultithreaded(theHost, thePort, theUriPath), null);
43 }
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59 public HohClientMultithreaded(String theHost, int thePort, String theUriPath, Parser theParser) {
60 super(new HohRawClientMultithreaded(theHost, thePort, theUriPath), theParser);
61 }
62
63
64
65
66
67
68
69 public HohClientMultithreaded(URL theUrl) {
70 super(new HohRawClientMultithreaded(theUrl), null);
71 }
72
73
74
75
76
77
78
79
80
81
82 public HohClientMultithreaded(URL theUrl, Parser theParser) {
83 super(new HohRawClientMultithreaded(theUrl), theParser);
84 }
85
86
87
88
89 public long getSocketTimeout() {
90 return getRawClient().getSocketTimeout();
91 }
92
93
94
95
96 public void setSocketTimeout(long theSocketTimeout) {
97 getRawClient().setSocketTimeout(theSocketTimeout);
98 }
99
100 }