nu.najt.kecon.jsocksproxy.configuration
Class Configuration

java.lang.Object
  extended by nu.najt.kecon.jsocksproxy.configuration.Configuration

public class Configuration
extends java.lang.Object

This is the XML root object for the configuration

Author:
Kenny Colliander Nordin

Constructor Summary
Configuration()
           
 
Method Summary
 int getBacklog()
           
 java.util.List<Listen> getListen()
           
 java.lang.String getOutgoingAddress()
           
 boolean isAllowSocks4()
           
 boolean isAllowSocks5()
           
 void setAllowSocks4(boolean allowSocks4)
           
 void setAllowSocks5(boolean allowSocks5)
           
 void setBacklog(int backlog)
           
 void setListen(java.util.List<Listen> listen)
           
 void setOutgoingAddress(java.lang.String outgoingAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configuration

public Configuration()
Method Detail

getBacklog

public int getBacklog()
Returns:
the backlog

setBacklog

public void setBacklog(int backlog)
Parameters:
backlog - the backlog to set

getOutgoingAddress

public java.lang.String getOutgoingAddress()
Returns:
the outgoingAddress

setOutgoingAddress

public void setOutgoingAddress(java.lang.String outgoingAddress)
Parameters:
outgoingAddress - the outgoingAddress to set

getListen

public java.util.List<Listen> getListen()
Returns:
the listen

setListen

public void setListen(java.util.List<Listen> listen)
Parameters:
listen - the listen to set

isAllowSocks4

public boolean isAllowSocks4()
Returns:
the allowSocks4

setAllowSocks4

public void setAllowSocks4(boolean allowSocks4)
Parameters:
allowSocks4 - the allowSocks4 to set

isAllowSocks5

public boolean isAllowSocks5()
Returns:
the allowSocks5

setAllowSocks5

public void setAllowSocks5(boolean allowSocks5)
Parameters:
allowSocks5 - the allowSocks5 to set