All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.addc.commons.slp.configuration.SLPConfigurationMBean Maven / Gradle / Ivy

Go to download

The addc-slp library supplies client classes for registering objects with a Service Location Protocol Daemon and for looking theses objects up later.

There is a newer version: 2.6
Show newest version
package com.addc.commons.slp.configuration;

import java.util.Locale;

/**
 * The SLPConfigurationMBean defines the attributes made available over JMX for the SLPConfiguration
 */
public interface SLPConfigurationMBean {

    /**
     * Query whether SLP is enabled
     *
     * @return whether SLP is enabled
     */
    boolean isEnabled();
    
    /**
     * Get the scopes
     * 
     * @return the scopes
     */
    String getScopes();

    /**
     * Get multicast maximum wait.
     * 
     * @return multicast maximum wait.
     */
    int getMcastMaxWait();

    /**
     * Get the multicasts timeouts
     * 
     * @return the multicasts timeouts
     */
    int[] getMcastTimeouts();

    /**
     * Get the datagram timeouts.
     * 
     * @return the datagram timeouts.
     */
    int[] getDatagramTimeouts();

    /**
     * Get the MTU.
     * 
     * @return the MTU.
     */
    int getMTU();

    /**
     * Get the locale.
     * 
     * @return the locale.
     */
    Locale getLocale();

    /**
     * Query whether security is enabled.
     * 
     * @return whether security is enabled.
     */
    boolean isSecurityEnabled();

    /**
     * Get the SPI.
     * 
     * @return the SPI.
     */
    String getSPI();

    /**
     * Get the port SLP listens on (default 427)
     *
     * @return the port SLP listens on
     */
    int getPort();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy