edu.columbia.cs.irt.rfidentify.display
Class IdTagHandler

java.lang.Object
  extended by java.util.Observable
      extended by edu.columbia.cs.irt.rfidentify.display.IdTagHandler
All Implemented Interfaces:
org.apache.http.protocol.HttpRequestHandler

public class IdTagHandler
extends java.util.Observable
implements org.apache.http.protocol.HttpRequestHandler

Used to update handlers that a tag has been swiped

Author:
Blake Arnold

Constructor Summary
IdTagHandler(DBAccess dbAccess)
          Initializes new handler
 
Method Summary
 void handle(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
           
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdTagHandler

public IdTagHandler(DBAccess dbAccess)
Initializes new handler

Parameters:
dbAccess - Access to local database
Method Detail

handle

public void handle(org.apache.http.HttpRequest request,
                   org.apache.http.HttpResponse response,
                   org.apache.http.protocol.HttpContext context)
            throws org.apache.http.HttpException,
                   java.io.IOException
Specified by:
handle in interface org.apache.http.protocol.HttpRequestHandler
Throws:
org.apache.http.HttpException
java.io.IOException