1 | package fr.sii.ogham.sms.builder.cloudhopper; | |
2 | ||
3 | import fr.sii.ogham.core.retry.RetryExecutor; | |
4 | import fr.sii.ogham.sms.sender.impl.cloudhopper.KeepAliveOptions; | |
5 | import fr.sii.ogham.sms.sender.impl.cloudhopper.ReuseSessionOptions; | |
6 | ||
7 | /** | |
8 | * Intermediate object that carries configured options. | |
9 | * | |
10 | * @author Aurélien Baudet | |
11 | * | |
12 | */ | |
13 | public class CloudhopperSessionOptions { | |
14 | private String sessionName; | |
15 | private Long bindTimeout; | |
16 | private Long connectTimeout; | |
17 | private Long requestExpiryTimeout; | |
18 | private Long windowMonitorInterval; | |
19 | private Integer windowSize; | |
20 | private Long windowWaitTimeout; | |
21 | private Long writeTimeout; | |
22 | private Long responseTimeout; | |
23 | private Long unbindTimeout; | |
24 | private RetryExecutor connectRetry; | |
25 | private ReuseSessionOptions reuseSession; | |
26 | private KeepAliveOptions keepAlive; | |
27 | ||
28 | public String getSessionName() { | |
29 |
1
1. getSessionName : replaced return value with "" for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getSessionName → SURVIVED |
return sessionName; |
30 | } | |
31 | ||
32 | public void setSessionName(String sessionName) { | |
33 | this.sessionName = sessionName; | |
34 | } | |
35 | ||
36 | public Long getBindTimeout() { | |
37 |
3
1. getBindTimeout : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getBindTimeout → SURVIVED 2. getBindTimeout : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getBindTimeout → TIMED_OUT 3. getBindTimeout : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getBindTimeout → KILLED |
return bindTimeout; |
38 | } | |
39 | ||
40 | public void setBindTimeout(Long bind) { | |
41 | this.bindTimeout = bind; | |
42 | } | |
43 | ||
44 | public Long getConnectTimeout() { | |
45 |
1
1. getConnectTimeout : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getConnectTimeout → SURVIVED |
return connectTimeout; |
46 | } | |
47 | ||
48 | public void setConnectTimeout(Long connect) { | |
49 | this.connectTimeout = connect; | |
50 | } | |
51 | ||
52 | public Long getRequestExpiryTimeout() { | |
53 |
1
1. getRequestExpiryTimeout : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getRequestExpiryTimeout → SURVIVED |
return requestExpiryTimeout; |
54 | } | |
55 | ||
56 | public void setRequestExpiryTimeout(Long requestExpiry) { | |
57 | this.requestExpiryTimeout = requestExpiry; | |
58 | } | |
59 | ||
60 | public Long getWindowMonitorInterval() { | |
61 |
1
1. getWindowMonitorInterval : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getWindowMonitorInterval → SURVIVED |
return windowMonitorInterval; |
62 | } | |
63 | ||
64 | public void setWindowMonitorInterval(Long windowMonitorInterval) { | |
65 | this.windowMonitorInterval = windowMonitorInterval; | |
66 | } | |
67 | ||
68 | public Integer getWindowSize() { | |
69 |
3
1. getWindowSize : replaced Integer return value with 0 for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getWindowSize → SURVIVED 2. getWindowSize : replaced Integer return value with 0 for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getWindowSize → TIMED_OUT 3. getWindowSize : replaced Integer return value with 0 for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getWindowSize → KILLED |
return windowSize; |
70 | } | |
71 | ||
72 | public void setWindowSize(Integer windowSize) { | |
73 | this.windowSize = windowSize; | |
74 | } | |
75 | ||
76 | public Long getWindowWaitTimeout() { | |
77 |
1
1. getWindowWaitTimeout : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getWindowWaitTimeout → SURVIVED |
return windowWaitTimeout; |
78 | } | |
79 | ||
80 | public void setWindowWaitTimeout(Long windowWait) { | |
81 | this.windowWaitTimeout = windowWait; | |
82 | } | |
83 | ||
84 | public Long getWriteTimeout() { | |
85 |
1
1. getWriteTimeout : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getWriteTimeout → SURVIVED |
return writeTimeout; |
86 | } | |
87 | ||
88 | public void setWriteTimeout(Long write) { | |
89 | this.writeTimeout = write; | |
90 | } | |
91 | ||
92 | public Long getResponseTimeout() { | |
93 |
5
1. getResponseTimeout : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getResponseTimeout → SURVIVED 2. getResponseTimeout : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getResponseTimeout → KILLED 3. getResponseTimeout : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getResponseTimeout → KILLED 4. getResponseTimeout : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getResponseTimeout → KILLED 5. getResponseTimeout : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getResponseTimeout → KILLED |
return responseTimeout; |
94 | } | |
95 | ||
96 | public void setResponseTimeout(Long response) { | |
97 | this.responseTimeout = response; | |
98 | } | |
99 | ||
100 | public Long getUnbindTimeout() { | |
101 |
1
1. getUnbindTimeout : replaced Long return value with 0L for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getUnbindTimeout → SURVIVED |
return unbindTimeout; |
102 | } | |
103 | ||
104 | public void setUnbindTimeout(Long unbind) { | |
105 | this.unbindTimeout = unbind; | |
106 | } | |
107 | ||
108 | public RetryExecutor getConnectRetry() { | |
109 |
2
1. getConnectRetry : replaced return value with null for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getConnectRetry → SURVIVED 2. getConnectRetry : replaced return value with null for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getConnectRetry → KILLED |
return connectRetry; |
110 | } | |
111 | ||
112 | public void setConnectRetry(RetryExecutor connectRetry) { | |
113 | this.connectRetry = connectRetry; | |
114 | } | |
115 | ||
116 | public ReuseSessionOptions getReuseSession() { | |
117 |
2
1. getReuseSession : replaced return value with null for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getReuseSession → SURVIVED 2. getReuseSession : replaced return value with null for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getReuseSession → KILLED |
return reuseSession; |
118 | } | |
119 | ||
120 | public void setReuseSession(ReuseSessionOptions reuseSession) { | |
121 | this.reuseSession = reuseSession; | |
122 | } | |
123 | ||
124 | public KeepAliveOptions getKeepAlive() { | |
125 |
2
1. getKeepAlive : replaced return value with null for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getKeepAlive → SURVIVED 2. getKeepAlive : replaced return value with null for fr/sii/ogham/sms/builder/cloudhopper/CloudhopperSessionOptions::getKeepAlive → TIMED_OUT |
return keepAlive; |
126 | } | |
127 | ||
128 | public void setKeepAlive(KeepAliveOptions keepAlive) { | |
129 | this.keepAlive = keepAlive; | |
130 | } | |
131 | } | |
Mutations | ||
29 |
1.1 |
|
37 |
1.1 2.2 3.3 |
|
45 |
1.1 |
|
53 |
1.1 |
|
61 |
1.1 |
|
69 |
1.1 2.2 3.3 |
|
77 |
1.1 |
|
85 |
1.1 |
|
93 |
1.1 2.2 3.3 4.4 5.5 |
|
101 |
1.1 |
|
109 |
1.1 2.2 |
|
117 |
1.1 2.2 |
|
125 |
1.1 2.2 |