rabbit.proxy
Class SocketAccessController

java.lang.Object
  extended by rabbit.proxy.SocketAccessController

public class SocketAccessController
extends Object

An access controller based on socket channels.

Author:
Robert Olofsson

Constructor Summary
SocketAccessController(String filters, Config config)
           
 
Method Summary
 boolean checkAccess(SocketChannel sc)
           
 List<IPAccessFilter> getAccessFilters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketAccessController

public SocketAccessController(String filters,
                              Config config)
Method Detail

getAccessFilters

public List<IPAccessFilter> getAccessFilters()

checkAccess

public boolean checkAccess(SocketChannel sc)