com.epam.fixengine.scheduler
Class AllowedSessionRegistry

java.lang.Object
  extended by com.epam.fixengine.scheduler.AllowedSessionRegistry

public class AllowedSessionRegistry
extends Object

Storage for policies of incoming connection.

TODO: make it persistent


Constructor Summary
AllowedSessionRegistry()
           
AllowedSessionRegistry(boolean allowByDefault)
           
 
Method Summary
 void allowByDefault()
           
 void allowSessionForConnect(SessionParameters parameters)
           
 void clean(SessionParameters parameters)
           
 void denyByDefault()
           
 void denySessionForConnect(SessionParameters parameters)
           
 boolean isSessionAllowed(SessionParameters parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllowedSessionRegistry

public AllowedSessionRegistry()

AllowedSessionRegistry

public AllowedSessionRegistry(boolean allowByDefault)
Method Detail

allowByDefault

public void allowByDefault()

denyByDefault

public void denyByDefault()

allowSessionForConnect

public void allowSessionForConnect(SessionParameters parameters)

denySessionForConnect

public void denySessionForConnect(SessionParameters parameters)

clean

public void clean(SessionParameters parameters)

isSessionAllowed

public boolean isSessionAllowed(SessionParameters parameters)


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.