// Path: src/com/ibm/mqttv3/binding/MQTT.java
// public enum Operation {
// 	GET,
// 	POST,
// 	PUT,
// 	DELETE,
// 	RESET;
// };


import com.ibm.mqttv3.binding.MQTT.Operation;
package com.ibm.mqttv3.binding;


/**
 * The Class MQTTExchange represents an exchange of MQTT request and response
 * 
 */
public class MQTTExchange {

	private Request request;
	
	private Response response;
	
	private Resource resource;
	
	private MQTTWrapper mqttClient;

	public static boolean bSERVER = true;

	
	public MQTTExchange(Request request, Response response) {
		this.request = request;
		this.response = response;
	}
	
	public MQTTExchange(MQTTExchange exchange, Resource Resource) {
		
	}

	public void setResource(Resource resource) {
		this.resource = resource;
	}
	
	public Resource getResource() {
		return this.resource;
	}
	
	
	/**
	 * Gets the request code: <tt>GET</tt>, <tt>POST</tt>, <tt>PUT</tt> or
	 * <tt>DELETE</tt>.
	 * 
	 * @return the request code
	 */
// Path: src/com/ibm/mqttv3/binding/MQTT.java
// public enum Operation {
// 	GET,
// 	POST,
// 	PUT,
// 	DELETE,
// 	RESET;
// };


// Path: src/com/ibm/mqttv3/binding/MQTTExchange.java
import com.ibm.mqttv3.binding.MQTT.Operation;

package com.ibm.mqttv3.binding;


/**
 * The Class MQTTExchange represents an exchange of MQTT request and response
 * 
 */
public class MQTTExchange {

	private Request request;
	
	private Response response;
	
	private Resource resource;
	
	private MQTTWrapper mqttClient;

	public static boolean bSERVER = true;

	
	public MQTTExchange(Request request, Response response) {
		this.request = request;
		this.response = response;
	}
	
	public MQTTExchange(MQTTExchange exchange, Resource Resource) {
		
	}

	public void setResource(Resource resource) {
		this.resource = resource;
	}
	
	public Resource getResource() {
		return this.resource;
	}
	
	
	/**
	 * Gets the request code: <tt>GET</tt>, <tt>POST</tt>, <tt>PUT</tt> or
	 * <tt>DELETE</tt>.
	 * 
	 * @return the request code
	 */
	public Operation getRequestCode() {