Class: IceGrid::NodeUpdateDescriptor
- Inherits:
-
Object
- Object
- IceGrid::NodeUpdateDescriptor
- Includes:
- Ice::Inspect_mixin
- Defined in:
- ruby/IceGrid/Descriptor.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#loadFactor ⇒ Object
Returns the value of attribute loadFactor.
-
#name ⇒ Object
Returns the value of attribute name.
-
#propertySets ⇒ Object
Returns the value of attribute propertySets.
-
#removePropertySets ⇒ Object
Returns the value of attribute removePropertySets.
-
#removeServers ⇒ Object
Returns the value of attribute removeServers.
-
#removeVariables ⇒ Object
Returns the value of attribute removeVariables.
-
#serverInstances ⇒ Object
Returns the value of attribute serverInstances.
-
#servers ⇒ Object
Returns the value of attribute servers.
-
#variables ⇒ Object
Returns the value of attribute variables.
Instance Method Summary collapse
- #==(other) ⇒ Object
- #eql?(other) ⇒ Boolean
- #hash ⇒ Object
-
#initialize(name = '', description = nil, variables = nil, removeVariables = nil, propertySets = nil, removePropertySets = nil, serverInstances = nil, servers = nil, removeServers = nil, loadFactor = nil) ⇒ NodeUpdateDescriptor
constructor
A new instance of NodeUpdateDescriptor.
Methods included from Ice::Inspect_mixin
Constructor Details
#initialize(name = '', description = nil, variables = nil, removeVariables = nil, propertySets = nil, removePropertySets = nil, serverInstances = nil, servers = nil, removeServers = nil, loadFactor = nil) ⇒ NodeUpdateDescriptor
Returns a new instance of NodeUpdateDescriptor.
818 819 820 821 822 823 824 825 826 827 828 829 |
# File 'ruby/IceGrid/Descriptor.rb', line 818 def initialize(name='', description=nil, variables=nil, removeVariables=nil, propertySets=nil, removePropertySets=nil, serverInstances=nil, servers=nil, removeServers=nil, loadFactor=nil) @name = name @description = description @variables = variables @removeVariables = removeVariables @propertySets = propertySets @removePropertySets = removePropertySets @serverInstances = serverInstances @servers = servers @removeServers = removeServers @loadFactor = loadFactor end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
865 866 867 |
# File 'ruby/IceGrid/Descriptor.rb', line 865 def description @description end |
#loadFactor ⇒ Object
Returns the value of attribute loadFactor.
865 866 867 |
# File 'ruby/IceGrid/Descriptor.rb', line 865 def loadFactor @loadFactor end |
#name ⇒ Object
Returns the value of attribute name.
865 866 867 |
# File 'ruby/IceGrid/Descriptor.rb', line 865 def name @name end |
#propertySets ⇒ Object
Returns the value of attribute propertySets.
865 866 867 |
# File 'ruby/IceGrid/Descriptor.rb', line 865 def propertySets @propertySets end |
#removePropertySets ⇒ Object
Returns the value of attribute removePropertySets.
865 866 867 |
# File 'ruby/IceGrid/Descriptor.rb', line 865 def removePropertySets @removePropertySets end |
#removeServers ⇒ Object
Returns the value of attribute removeServers.
865 866 867 |
# File 'ruby/IceGrid/Descriptor.rb', line 865 def removeServers @removeServers end |
#removeVariables ⇒ Object
Returns the value of attribute removeVariables.
865 866 867 |
# File 'ruby/IceGrid/Descriptor.rb', line 865 def removeVariables @removeVariables end |
#serverInstances ⇒ Object
Returns the value of attribute serverInstances.
865 866 867 |
# File 'ruby/IceGrid/Descriptor.rb', line 865 def serverInstances @serverInstances end |
#servers ⇒ Object
Returns the value of attribute servers.
865 866 867 |
# File 'ruby/IceGrid/Descriptor.rb', line 865 def servers @servers end |
#variables ⇒ Object
Returns the value of attribute variables.
865 866 867 |
# File 'ruby/IceGrid/Descriptor.rb', line 865 def variables @variables end |
Instance Method Details
#==(other) ⇒ Object
846 847 848 849 850 851 852 853 854 855 856 857 858 859 |
# File 'ruby/IceGrid/Descriptor.rb', line 846 def ==(other) return false if !other.is_a? ::IceGrid::NodeUpdateDescriptor or @name != other.name or @description != other.description or @variables != other.variables or @removeVariables != other.removeVariables or @propertySets != other.propertySets or @removePropertySets != other.removePropertySets or @serverInstances != other.serverInstances or @servers != other.servers or @removeServers != other.removeServers or @loadFactor != other.loadFactor true end |
#eql?(other) ⇒ Boolean
861 862 863 |
# File 'ruby/IceGrid/Descriptor.rb', line 861 def eql?(other) return other.class == self.class && other == self end |
#hash ⇒ Object
831 832 833 834 835 836 837 838 839 840 841 842 843 844 |
# File 'ruby/IceGrid/Descriptor.rb', line 831 def hash _h = 0 _h = 5 * _h + @name.hash _h = 5 * _h + @description.hash _h = 5 * _h + @variables.hash _h = 5 * _h + @removeVariables.hash _h = 5 * _h + @propertySets.hash _h = 5 * _h + @removePropertySets.hash _h = 5 * _h + @serverInstances.hash _h = 5 * _h + @servers.hash _h = 5 * _h + @removeServers.hash _h = 5 * _h + @loadFactor.hash _h % 0x7fffffff end |