com.solers.slp
Class SLPConfiguration

java.lang.Object
  |
  +--com.solers.slp.SLPConfiguration

class SLPConfiguration
extends Object

An SLPConfiguration object holds all configurable properties.

Author:
Patrick Callis

Field Summary
(package private)  Properties _props
           
static String DA_ADDRESSES
           
static String DA_ADDRESSES_DEFAULT
           
static String DATAGRAM_MAX_WAIT
           
static String DATAGRAM_MAX_WAIT_DEFAULT
           
static String DATAGRAM_TIMEOUTS
           
static String DATAGRAM_TIMEOUTS_DEFAULT
           
static String LOCALE
           
static String LOCALE_DEFAULT
           
static String MCAST_MAX_WAIT
           
static String MCAST_MAX_WAIT_DEFAULT
           
static String MCAST_TIMEOUTS
           
static String MCAST_TIMEOUTS_DEFAULT
           
static String MCAST_TTL
           
static String MCAST_TTL_DEFAULT
           
static String MTU
           
static String MTU_DEFAULT
           
static String PRIVATE_KEY
           
static String PUBLIC_KEY
           
static String SECURITY_ENABLED
           
static String SECURITY_ENABLED_DEFAULT
           
static String SPI
           
static String SPI_DEFAULT
           
static String TRACE_DATRAFFIC
           
static String TRACE_DATRAFFIC_DEFAULT
           
static String TRACE_DROP
           
static String TRACE_DROP_DEFAULT
           
static String TRACE_MESSAGE
           
static String TRACE_MESSAGE_DEFAULT
           
static String TRACE_REG
           
static String TRACE_REG_DEFAULT
           
static String USE_SCOPES
           
static String USE_SCOPES_DEFAULT
           
 
Constructor Summary
(package private) SLPConfiguration(File f)
           
(package private) SLPConfiguration(Properties props)
           
 
Method Summary
(package private)  String getDaAddresses()
           
(package private)  int getDatagramMaxWait()
           
(package private)  int[] getDatagramTimeouts()
           
(package private)  Locale getLocale()
           
(package private)  int getMcastMaxWait()
           
(package private)  int[] getMcastTimeouts()
           
(package private)  byte getMcastTTL()
           
(package private)  int getMTU()
           
(package private)  String getPrivateKey(String spi)
           
(package private)  String getPublicKey(String spi)
           
(package private)  String getScopes()
           
(package private)  boolean getSecurityEnabled()
           
(package private)  String getSPI()
           
(package private)  boolean getTraceDaTraffic()
           
(package private)  boolean getTraceDrop()
           
(package private)  boolean getTraceMessage()
           
(package private)  boolean getTraceReg()
           
(package private)  int[] parseTimeouts(String s)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

_props

Properties _props

USE_SCOPES

public static final String USE_SCOPES

USE_SCOPES_DEFAULT

public static final String USE_SCOPES_DEFAULT

DA_ADDRESSES

public static final String DA_ADDRESSES

DA_ADDRESSES_DEFAULT

public static final String DA_ADDRESSES_DEFAULT

TRACE_DATRAFFIC

public static final String TRACE_DATRAFFIC

TRACE_DATRAFFIC_DEFAULT

public static final String TRACE_DATRAFFIC_DEFAULT

TRACE_MESSAGE

public static final String TRACE_MESSAGE

TRACE_MESSAGE_DEFAULT

public static final String TRACE_MESSAGE_DEFAULT

TRACE_DROP

public static final String TRACE_DROP

TRACE_DROP_DEFAULT

public static final String TRACE_DROP_DEFAULT

TRACE_REG

public static final String TRACE_REG

TRACE_REG_DEFAULT

public static final String TRACE_REG_DEFAULT

MCAST_TTL

public static final String MCAST_TTL

MCAST_TTL_DEFAULT

public static final String MCAST_TTL_DEFAULT

MCAST_MAX_WAIT

public static final String MCAST_MAX_WAIT

MCAST_MAX_WAIT_DEFAULT

public static final String MCAST_MAX_WAIT_DEFAULT

MCAST_TIMEOUTS

public static final String MCAST_TIMEOUTS

MCAST_TIMEOUTS_DEFAULT

public static final String MCAST_TIMEOUTS_DEFAULT

DATAGRAM_MAX_WAIT

public static final String DATAGRAM_MAX_WAIT

DATAGRAM_MAX_WAIT_DEFAULT

public static final String DATAGRAM_MAX_WAIT_DEFAULT

DATAGRAM_TIMEOUTS

public static final String DATAGRAM_TIMEOUTS

DATAGRAM_TIMEOUTS_DEFAULT

public static final String DATAGRAM_TIMEOUTS_DEFAULT

MTU

public static final String MTU

MTU_DEFAULT

public static final String MTU_DEFAULT

LOCALE

public static final String LOCALE

LOCALE_DEFAULT

public static final String LOCALE_DEFAULT

SECURITY_ENABLED

public static final String SECURITY_ENABLED

SECURITY_ENABLED_DEFAULT

public static final String SECURITY_ENABLED_DEFAULT

SPI

public static final String SPI

SPI_DEFAULT

public static final String SPI_DEFAULT

PRIVATE_KEY

public static final String PRIVATE_KEY

PUBLIC_KEY

public static final String PUBLIC_KEY
Constructor Detail

SLPConfiguration

SLPConfiguration(Properties props)

SLPConfiguration

SLPConfiguration(File f)
           throws IOException
Method Detail

getScopes

String getScopes()

getDaAddresses

String getDaAddresses()

getTraceDaTraffic

boolean getTraceDaTraffic()

getTraceMessage

boolean getTraceMessage()

getTraceDrop

boolean getTraceDrop()

getTraceReg

boolean getTraceReg()

getMcastTTL

byte getMcastTTL()

getMcastMaxWait

int getMcastMaxWait()

getDatagramMaxWait

int getDatagramMaxWait()

parseTimeouts

int[] parseTimeouts(String s)

getMcastTimeouts

int[] getMcastTimeouts()

getDatagramTimeouts

int[] getDatagramTimeouts()

getMTU

int getMTU()

getLocale

Locale getLocale()

getSecurityEnabled

boolean getSecurityEnabled()

getSPI

String getSPI()

getPublicKey

String getPublicKey(String spi)

getPrivateKey

String getPrivateKey(String spi)