Index: trunk/src/main/java/omq/server/InvocationThread.java
===================================================================
--- trunk/src/main/java/omq/server/InvocationThread.java	(revision 77)
+++ trunk/src/main/java/omq/server/InvocationThread.java	(revision 83)
@@ -16,4 +16,5 @@
 
 /**
+ * An invocationThread waits for requests an invokes them.
  * 
  * @author Sergi Toda <sergi.toda@estudiants.urv.cat>
Index: trunk/src/main/java/omq/server/RemoteObject.java
===================================================================
--- trunk/src/main/java/omq/server/RemoteObject.java	(revision 77)
+++ trunk/src/main/java/omq/server/RemoteObject.java	(revision 83)
@@ -23,4 +23,9 @@
 
 /**
+ * A RemoteObject when it's started will be waiting for requests and will invoke
+ * them. When a RemoteObject is started it listens two queues, the first one has
+ * the same name as its reference and the second one is its multiqueue -this
+ * name can be set using a property, be aware to use a name not used by another
+ * object!!!-.
  * 
  * @author Sergi Toda <sergi.toda@estudiants.urv.cat>
@@ -58,4 +63,15 @@
 	}
 
+	/**
+	 * This method starts a remoteObject.
+	 * 
+	 * @param reference
+	 *            - broker's binding referece
+	 * @param broker
+	 *            - broker that binds this remoteObject
+	 * @param env
+	 *            - properties of this remoteObject
+	 * @throws Exception
+	 */
 	public void startRemoteObject(String reference, Broker broker, Properties env) throws Exception {
 		this.broker = broker;
@@ -81,12 +97,4 @@
 		// Start this listener
 		this.start();
-	}
-
-	public void startTriggerEvent(String reference, Broker broker) throws Exception {
-		this.broker = broker;
-		UID = reference;
-		if (channel == null || !channel.isOpen()) {
-			channel = broker.getChannel();
-		}
 	}
 
@@ -133,4 +141,10 @@
 	}
 
+	/**
+	 * This method kills all the threads waiting for requests
+	 * 
+	 * @throws IOException
+	 *             - If an operation failed.
+	 */
 	public void kill() throws IOException {
 		logger.warn("Killing objectmq: " + this.getRef());
@@ -141,4 +155,12 @@
 	}
 
+	/**
+	 * This method invokes the method specified by methodName and arguments
+	 * 
+	 * @param methodName
+	 * @param arguments
+	 * @return result
+	 * @throws Exception
+	 */
 	public Object invokeMethod(String methodName, Object[] arguments) throws Exception {
 
@@ -149,4 +171,13 @@
 	}
 
+	/**
+	 * This method loads the method specified by methodName and args
+	 * 
+	 * @param methodName
+	 * @param args
+	 * @return method
+	 * @throws NoSuchMethodException
+	 *             - If the method cannot be found
+	 */
 	private Method loadMethod(String methodName, Object[] args) throws NoSuchMethodException {
 		Method m = null;
@@ -171,4 +202,15 @@
 	}
 
+	/**
+	 * This method loads a method which uses primitives as arguments
+	 * 
+	 * @param methodName
+	 *            - name of the method wanted to invoke
+	 * @param argArray
+	 *            - arguments
+	 * @return method
+	 * @throws NoSuchMethodException
+	 *             - If the method cannot be found
+	 */
 	private Method loadMethodWithPrimitives(String methodName, Class<?>[] argArray) throws NoSuchMethodException {
 		if (argArray != null) {
@@ -213,4 +255,10 @@
 	}
 
+	/**
+	 * This method starts the queues using the information got in the
+	 * environment.
+	 * 
+	 * @throws Exception
+	 */
 	private void startQueues() throws Exception {
 		// Get info about which exchange and queue will use
Index: trunk/src/main/java/omq/server/RemoteWrapper.java
===================================================================
--- trunk/src/main/java/omq/server/RemoteWrapper.java	(revision 77)
+++ trunk/src/main/java/omq/server/RemoteWrapper.java	(revision 83)
@@ -13,4 +13,6 @@
 
 /**
+ * This class is used to encapsulate the invocationThreads under the
+ * RemoteObject.
  * 
  * @author Sergi Toda <sergi.toda@estudiants.urv.cat>
@@ -40,8 +42,19 @@
 	}
 
+	/**
+	 * This method notifies a delivery to an invocationThread using a
+	 * blockingQueue.
+	 * 
+	 * @param delivery
+	 *            - delivery which contains a Request to be invoked
+	 * @throws Exception
+	 */
 	public void notifyDelivery(Delivery delivery) throws Exception {
 		this.deliveryQueue.put(delivery);
 	}
 
+	/**
+	 * This method interrups all the invocationThreads under this remoteWrapper
+	 */
 	public void stopRemoteWrapper() {
 		logger.warn("Stopping Invocation threads vinculed to " + obj.getRef());
