001: package org.objectweb.jonas.webapp.jonasadmin.monitoring;
002:
003: import org.apache.struts.action.ActionForm;
004:
005: public class TomcatMemberForm extends ActionForm {
006: /**
007: * The member's name
008: */
009: private String name = null;
010: /**
011: * The member's host
012: */
013: private String host = null;
014: /**
015: * The member's state
016: */
017: private String state = null;
018:
019: // ---------- Receiver info ---------------------//
020: /**
021: * tcp listener address
022: */
023: private String tcpListenAddress = null;
024: /**
025: * tcp listener port
026: */
027: private int tcpListenPort;
028:
029: private int tcpThreadCount;
030:
031: private long tcpReceivedBytes;
032:
033: private String receiverInfo;
034:
035: // -------------- Sender info -------------------//
036: private String replicationMode;
037:
038: private long ackTimeout;
039:
040: private boolean autoConnect;
041:
042: private boolean compress;
043:
044: private boolean doTransmitterProcessingStats;
045:
046: private boolean waitForAck;
047:
048: private String senderInfo;
049:
050: // -------------- Accessors -------------------//
051: public String getSenderInfo() {
052: return senderInfo;
053: }
054:
055: public void setSenderInfo(String senderInfo) {
056: this .senderInfo = senderInfo;
057: }
058:
059: public String getReceiverInfo() {
060: return receiverInfo;
061: }
062:
063: public void setReceiverInfo(String receiverInfo) {
064: this .receiverInfo = receiverInfo;
065: }
066:
067: public long getTcpReceivedBytes() {
068: return tcpReceivedBytes;
069: }
070:
071: public void setTcpReceivedBytes(long tcpReceivedBytes) {
072: this .tcpReceivedBytes = tcpReceivedBytes;
073: }
074:
075: public int getTcpThreadCount() {
076: return tcpThreadCount;
077: }
078:
079: public void setTcpThreadCount(int tcpThreadCount) {
080: this .tcpThreadCount = tcpThreadCount;
081: }
082:
083: public String getHost() {
084: return host;
085: }
086:
087: public void setHost(String host) {
088: this .host = host;
089: }
090:
091: public String getName() {
092: return name;
093: }
094:
095: public void setName(String name) {
096: this .name = name;
097: }
098:
099: public String getTcpListenAddress() {
100: return tcpListenAddress;
101: }
102:
103: public void setTcpListenAddress(String tcpListenAddress) {
104: this .tcpListenAddress = tcpListenAddress;
105: }
106:
107: public int getTcpListenPort() {
108: return tcpListenPort;
109: }
110:
111: public void setTcpListenPort(int tcpListenPort) {
112: this .tcpListenPort = tcpListenPort;
113: }
114:
115: public long getAckTimeout() {
116: return ackTimeout;
117: }
118:
119: public void setAckTimeout(long ackTimeout) {
120: this .ackTimeout = ackTimeout;
121: }
122:
123: public boolean isAutoConnect() {
124: return autoConnect;
125: }
126:
127: public void setAutoConnect(boolean autoConnect) {
128: this .autoConnect = autoConnect;
129: }
130:
131: public boolean isDoTransmitterProcessingStats() {
132: return doTransmitterProcessingStats;
133: }
134:
135: public void setDoTransmitterProcessingStats(
136: boolean doTransmitterProcessingStats) {
137: this .doTransmitterProcessingStats = doTransmitterProcessingStats;
138: }
139:
140: public String getReplicationMode() {
141: return replicationMode;
142: }
143:
144: public void setReplicationMode(String replicationMode) {
145: this .replicationMode = replicationMode;
146: }
147:
148: public boolean isWaitForAck() {
149: return waitForAck;
150: }
151:
152: public void setWaitForAck(boolean waitForAck) {
153: this .waitForAck = waitForAck;
154: }
155:
156: public boolean isCompress() {
157: return compress;
158: }
159:
160: public void setCompress(boolean compress) {
161: this .compress = compress;
162: }
163:
164: public String getState() {
165: return state;
166: }
167:
168: public void setState(String state) {
169: this.state = state;
170: }
171: }
|