public final class SessionSettingsNegotiator extends SettingsNegotiator
Entry objects responsible for negotiating
session-wide parameters.
Each instance of this class belongs to one TargetSession object.
SettingsNegotiatorbackUpEntries, entries| Constructor and Description |
|---|
SessionSettingsNegotiator()
The
SessionSettingsNegotiator constructor. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkConstraints()
Checks constraints that cannot be checked at the
Entry level,
e.g. |
protected void |
initializeEntries()
Adds a properly initialized
Entry object to SettingsNegotiator.entries for
every parameter managed by this SettingsNegotiator. |
protected void |
updateSettingsBuilderComponent()
Updates
sessionSettingBuilderComponent with the currently valid
parameters retrieved from the elements of SettingsNegotiator.entries. |
backUpEntries, commitOrRollBackChanges, copypublic SessionSettingsNegotiator()
SessionSettingsNegotiator constructor.protected void initializeEntries()
SettingsNegotiatorEntry object to SettingsNegotiator.entries for
every parameter managed by this SettingsNegotiator.initializeEntries in class SettingsNegotiatorprotected void updateSettingsBuilderComponent()
sessionSettingBuilderComponent with the currently valid
parameters retrieved from the elements of SettingsNegotiator.entries.public boolean checkConstraints()
SettingsNegotiatorEntry level,
e.g. because they depend on the values of multiple parameters.checkConstraints in class SettingsNegotiatortrue if everything is fine, false if
that is not the caseCopyright © 2012 University of Konstanz, Distributed Systems Group. All Rights Reserved.