fr.lifl.magique.util
Class RequestProcessor

java.lang.Object
  extended byfr.lifl.magique.util.RequestProcessor
All Implemented Interfaces:
java.lang.Runnable

public class RequestProcessor
extends java.lang.Object
implements java.lang.Runnable

this is simply use to treat a given request in a thread. Each request is run in a separate thread which is instantiated by siuch an object.

See Also:
Runnable

Constructor Summary
RequestProcessor(AbstractAgent agent, Request request)
           
 
Method Summary
 void run()
          treats the request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestProcessor

public RequestProcessor(AbstractAgent agent,
                        Request request)
Parameters:
agent - the object that must execute request
request - the request to execute
Method Detail

run

public void run()
treats the request

Specified by:
run in interface java.lang.Runnable