Skip to content

Commit 13bba99

Browse files
committed
Add inactivityTimeout so it can be set programmatically in tests
1 parent 23d9e73 commit 13bba99

File tree

1 file changed

+12
-0
lines changed
  • dev/fattest.simplicity/src/com/ibm/websphere/simplicity/config

1 file changed

+12
-0
lines changed

dev/fattest.simplicity/src/com/ibm/websphere/simplicity/config/TcpOptions.java

+12
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public class TcpOptions extends ConfigElement {
2424
private String addressExcludeList;
2525
private String hostNameIncludeList;
2626
private String hostNameExcludeList;
27+
private String inactivityTimeout;
2728
private Integer maxOpenConnections;
2829

2930
public Boolean isSoReuseAddr() {
@@ -46,6 +47,10 @@ public String getHostNameExcludeList() {
4647
return hostNameExcludeList;
4748
}
4849

50+
public String getInactivityTimeout() {
51+
return inactivityTimeout;
52+
}
53+
4954
public Integer getMaxOpenConnections() {
5055
return maxOpenConnections;
5156
}
@@ -75,6 +80,11 @@ public void setHostNameExcludeList(String hostNameExcludeList) {
7580
this.hostNameExcludeList = hostNameExcludeList;
7681
}
7782

83+
@XmlAttribute
84+
public void setInactivityTimeout(String inactivityTimeout) {
85+
this.inactivityTimeout = inactivityTimeout;
86+
}
87+
7888
@XmlAttribute
7989
public void setMaxOpenConnections(Integer maxOpenConnections) {
8090
this.maxOpenConnections = maxOpenConnections;
@@ -95,6 +105,8 @@ public String toString() {
95105
buf.append("hostNameIncludeList=\"" + hostNameIncludeList + "\" ");
96106
if (getHostNameExcludeList() != null)
97107
buf.append("hostNameExcludeList=\"" + hostNameExcludeList + "\" ");
108+
if (getInactivityTimeout() != null)
109+
buf.append("inactivityTimeout=\"" + inactivityTimeout + "\" ");
98110
if (getMaxOpenConnections() != null)
99111
buf.append("maxOpenConnections=\"" + maxOpenConnections + "\" ");
100112
buf.append("}");

0 commit comments

Comments
 (0)