rabbit.proxy
Class ProxyLogger

java.lang.Object
  extended by rabbit.proxy.ProxyLogger
All Implemented Interfaces:
ConnectionLogger

public class ProxyLogger
extends Object
implements ConnectionLogger

A class to handle proxy logging.

Author:
Robert Olofsson

Constructor Summary
ProxyLogger()
          Create a new ProxyLogger.
 
Method Summary
 long getOffset()
          Get the distance to GMT in millis
 void logConnection(Connection con)
          Log a finished connection.
 void setup(SProperties config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyLogger

public ProxyLogger()
Create a new ProxyLogger.

Method Detail

getOffset

public long getOffset()
Get the distance to GMT in millis


setup

public void setup(SProperties config)
           throws IOException
Throws:
IOException

logConnection

public void logConnection(Connection con)
Description copied from interface: ConnectionLogger
Log a finished connection.

Specified by:
logConnection in interface ConnectionLogger
Parameters:
con - the Connection that has finished one operation.