anon.proxy
Class ProxyCallbackHandler

java.lang.Object
  extended by anon.proxy.ProxyCallbackHandler

public class ProxyCallbackHandler
extends java.lang.Object

Author:
Simon Pecher Experimental framework class to filter or modify data before it is transferred via the gateway. Customized Callback-Objects can be registered.

Constructor Summary
ProxyCallbackHandler()
           
 
Method Summary
 void closeRequest(AnonProxyRequest anonRequest)
           
 void deliverDownstream(AnonProxyRequest anonRequest, ProxyCallbackBuffer buffer)
           
 void deliverUpstream(AnonProxyRequest anonRequest, ProxyCallbackBuffer buffer)
           
 void registerProxyCallback(ProxyCallback callback)
           
 void removeCallback(ProxyCallback callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyCallbackHandler

public ProxyCallbackHandler()
Method Detail

deliverUpstream

public void deliverUpstream(AnonProxyRequest anonRequest,
                            ProxyCallbackBuffer buffer)
                     throws ProxyCallbackNotProcessableException,
                            ProxyCallbackDelayException
Throws:
ProxyCallbackNotProcessableException
ProxyCallbackDelayException

deliverDownstream

public void deliverDownstream(AnonProxyRequest anonRequest,
                              ProxyCallbackBuffer buffer)
                       throws ProxyCallbackNotProcessableException,
                              ProxyCallbackDelayException
Throws:
ProxyCallbackNotProcessableException
ProxyCallbackDelayException

closeRequest

public void closeRequest(AnonProxyRequest anonRequest)

registerProxyCallback

public void registerProxyCallback(ProxyCallback callback)

removeCallback

public void removeCallback(ProxyCallback callback)