CloudhopperSessionOptions.java

package fr.sii.ogham.sms.builder.cloudhopper;

import fr.sii.ogham.core.retry.RetryExecutor;
import fr.sii.ogham.sms.sender.impl.cloudhopper.KeepAliveOptions;
import fr.sii.ogham.sms.sender.impl.cloudhopper.ReuseSessionOptions;

/**
 * Intermediate object that carries configured options.
 * 
 * @author Aurélien Baudet
 *
 */
public class CloudhopperSessionOptions {
	private String sessionName;
	private Long bindTimeout;
	private Long connectTimeout;
	private Long requestExpiryTimeout;
	private Long windowMonitorInterval;
	private Integer windowSize;
	private Long windowWaitTimeout;
	private Long writeTimeout;
	private Long responseTimeout;
	private Long unbindTimeout;
	private RetryExecutor connectRetry;
	private ReuseSessionOptions reuseSession;
	private KeepAliveOptions keepAlive;

	public String getSessionName() {
		return sessionName;
	}

	public void setSessionName(String sessionName) {
		this.sessionName = sessionName;
	}

	public Long getBindTimeout() {
		return bindTimeout;
	}

	public void setBindTimeout(Long bind) {
		this.bindTimeout = bind;
	}

	public Long getConnectTimeout() {
		return connectTimeout;
	}

	public void setConnectTimeout(Long connect) {
		this.connectTimeout = connect;
	}

	public Long getRequestExpiryTimeout() {
		return requestExpiryTimeout;
	}

	public void setRequestExpiryTimeout(Long requestExpiry) {
		this.requestExpiryTimeout = requestExpiry;
	}

	public Long getWindowMonitorInterval() {
		return windowMonitorInterval;
	}

	public void setWindowMonitorInterval(Long windowMonitorInterval) {
		this.windowMonitorInterval = windowMonitorInterval;
	}

	public Integer getWindowSize() {
		return windowSize;
	}

	public void setWindowSize(Integer windowSize) {
		this.windowSize = windowSize;
	}

	public Long getWindowWaitTimeout() {
		return windowWaitTimeout;
	}

	public void setWindowWaitTimeout(Long windowWait) {
		this.windowWaitTimeout = windowWait;
	}

	public Long getWriteTimeout() {
		return writeTimeout;
	}

	public void setWriteTimeout(Long write) {
		this.writeTimeout = write;
	}

	public Long getResponseTimeout() {
		return responseTimeout;
	}

	public void setResponseTimeout(Long response) {
		this.responseTimeout = response;
	}

	public Long getUnbindTimeout() {
		return unbindTimeout;
	}

	public void setUnbindTimeout(Long unbind) {
		this.unbindTimeout = unbind;
	}

	public RetryExecutor getConnectRetry() {
		return connectRetry;
	}

	public void setConnectRetry(RetryExecutor connectRetry) {
		this.connectRetry = connectRetry;
	}

	public ReuseSessionOptions getReuseSession() {
		return reuseSession;
	}

	public void setReuseSession(ReuseSessionOptions reuseSession) {
		this.reuseSession = reuseSession;
	}

	public KeepAliveOptions getKeepAlive() {
		return keepAlive;
	}

	public void setKeepAlive(KeepAliveOptions keepAlive) {
		this.keepAlive = keepAlive;
	}
}