org.jdiameter.api
Interface MutableConfiguration

All Superinterfaces:
Configuration

public interface MutableConfiguration
extends Configuration

This interface is the extended version of the interface configuration and allows to receive of a notification about reconfigurations

Version:
1.5.1 Final
Author:
erick.svenson@yahoo.com

Method Summary
 void addChangeListener(ConfigurationListener listener, int... keys)
          Add change configuration listener
 void removeChangeListener(ConfigurationListener listener, int... keys)
          Remove change configuration listener
 void removeValue(int... key)
          Remove defined key
 void setBooleanValue(int key, boolean value)
          Set boolean value to configuration
 void setByteArrayValue(int key, byte[] value)
          Set byte array value to configuration
 void setByteValue(int key, byte value)
          Set byte value to configuration
 void setChildren(int key, Configuration... value)
          Set children to configuration
 void setDoubleValue(int key, double value)
          Set double value to configuration
 void setIntValue(int key, int value)
          Set int value to configuration
 void setLongValue(int key, long value)
          Set long value to configuration
 void setStringValue(int key, java.lang.String value)
          Set string value to configuration
 
Methods inherited from interface org.jdiameter.api.Configuration
getBooleanValue, getByteArrayValue, getByteValue, getChildren, getDoubleValue, getIntValue, getLongValue, getStringValue, isAttributeExist
 

Method Detail

setByteValue

void setByteValue(int key,
                  byte value)
Set byte value to configuration

Parameters:
key - key of value
value - byte value

setIntValue

void setIntValue(int key,
                 int value)
Set int value to configuration

Parameters:
key - key of value
value - int value

setLongValue

void setLongValue(int key,
                  long value)
Set long value to configuration

Parameters:
key - key of value
value - long value

setDoubleValue

void setDoubleValue(int key,
                    double value)
Set double value to configuration

Parameters:
key - key of value
value - double value

setByteArrayValue

void setByteArrayValue(int key,
                       byte[] value)
Set byte array value to configuration

Parameters:
key - key of value
value - byte array value

setBooleanValue

void setBooleanValue(int key,
                     boolean value)
Set boolean value to configuration

Parameters:
key - key of value
value - boolean value

setStringValue

void setStringValue(int key,
                    java.lang.String value)
Set string value to configuration

Parameters:
key - key of value
value - string value

setChildren

void setChildren(int key,
                 Configuration... value)
Set children to configuration

Parameters:
key - key of children
value - children value

removeValue

void removeValue(int... key)
Remove defined key

Parameters:
key - array keys of removed entry

addChangeListener

void addChangeListener(ConfigurationListener listener,
                       int... keys)
Add change configuration listener

Parameters:
listener - instance of listener
keys - array of observed propertie's keys if keys.length == 0 then observed all properties of configuration node

removeChangeListener

void removeChangeListener(ConfigurationListener listener,
                          int... keys)
Remove change configuration listener

Parameters:
listener - instance of listener
keys - array of removed listener's keys


Copyright © 2013. All Rights Reserved.