/**
* Sends the current request to the outQueue on the same node.
*/
public void sendToOut(DHT myNode)
{
Request current = inQueue.peek();
if(destinationList.get(current.getDataHash())==true)
{
for(int i = 0;i<holdList.size();i++)
{
if(holdList.get(i).equals(current.getDataHash()))
{
current.addURL(holdList.get(i));
holdList.remove(i);
}
}
}
//Message message = new QueueMessage(myNode.getNode(),current.getDataHash());