it.jnrpe.server
Class ServerSection

java.lang.Object
  extended by it.jnrpe.server.ServerSection

public class ServerSection
extends Object

Represent the JNRPE configuration server section.

Author:
Massimiliano Ziccardi

Field Summary
static int DEFAULT_BACKLOG
          The default backlog size.
 
Constructor Summary
ServerSection()
           
 
Method Summary
 boolean acceptParams()
          Returns whether this server must resolve $ARGx$ macros or not.
 List<String> getAllowedAddresses()
           
 int getBacklogSize()
           
 List<it.jnrpe.server.BindAddress> getBindAddresses()
           
 String getPluginPath()
           
 int getReadTimeout()
           
 int getWriteTimeout()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BACKLOG

public static final int DEFAULT_BACKLOG
The default backlog size.

See Also:
Constant Field Values
Constructor Detail

ServerSection

public ServerSection()
Method Detail

getBindAddresses

public final List<it.jnrpe.server.BindAddress> getBindAddresses()
Returns:
all the configured binding addresses.

getAllowedAddresses

public final List<String> getAllowedAddresses()
Returns:
the list of allowed IP address client

acceptParams

public final boolean acceptParams()
Returns whether this server must resolve $ARGx$ macros or not.

Returns:
true if macros must be resolved

getBacklogSize

public final int getBacklogSize()

getReadTimeout

public final int getReadTimeout()

getWriteTimeout

public final int getWriteTimeout()

getPluginPath

public final String getPluginPath()
Returns:
the path to the directory where all plugins are istalled.


Copyright © 2014. All Rights Reserved.