public final class SessionSettingsNegotiator extends SettingsNegotiator
Entry
objects responsible for negotiating session-wide parameters.
Each instance of this class belongs to one TargetSession
object.
SettingsNegotiator
backUpEntries, 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, copy
public SessionSettingsNegotiator()
SessionSettingsNegotiator
constructor.protected void initializeEntries()
SettingsNegotiator
Entry
object to SettingsNegotiator.entries
for every parameter managed by this
SettingsNegotiator
.initializeEntries
in class SettingsNegotiator
protected void updateSettingsBuilderComponent()
sessionSettingBuilderComponent
with the currently valid parameters retrieved from the elements
of SettingsNegotiator.entries
.public boolean checkConstraints()
SettingsNegotiator
Entry
level, e.g. because they depend on the values of
multiple parameters.checkConstraints
in class SettingsNegotiator
true
if everything is fine, false
if that is not the caseCopyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.