Class: IceGrid::ReplicaGroupDescriptor
- Inherits:
-
Object
- Object
- IceGrid::ReplicaGroupDescriptor
- Includes:
- Ice::Inspect_mixin
- Defined in:
- lib/IceGrid/Descriptor.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#filter ⇒ Object
Returns the value of attribute filter.
-
#id ⇒ Object
Returns the value of attribute id.
-
#loadBalancing ⇒ Object
Returns the value of attribute loadBalancing.
-
#objects ⇒ Object
Returns the value of attribute objects.
-
#proxyOptions ⇒ Object
Returns the value of attribute proxyOptions.
Instance Method Summary collapse
- #==(other) ⇒ Object
- #eql?(other) ⇒ Boolean
- #hash ⇒ Object
-
#initialize(id = '', loadBalancing = nil, proxyOptions = '', objects = nil, description = '', filter = '') ⇒ ReplicaGroupDescriptor
constructor
A new instance of ReplicaGroupDescriptor.
Methods included from Ice::Inspect_mixin
Constructor Details
#initialize(id = '', loadBalancing = nil, proxyOptions = '', objects = nil, description = '', filter = '') ⇒ ReplicaGroupDescriptor
Returns a new instance of ReplicaGroupDescriptor.
718 719 720 721 722 723 724 725 |
# File 'lib/IceGrid/Descriptor.rb', line 718 def initialize(id='', loadBalancing=nil, proxyOptions='', objects=nil, description='', filter='') @id = id @loadBalancing = loadBalancing @proxyOptions = proxyOptions @objects = objects @description = description @filter = filter end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
753 754 755 |
# File 'lib/IceGrid/Descriptor.rb', line 753 def description @description end |
#filter ⇒ Object
Returns the value of attribute filter.
753 754 755 |
# File 'lib/IceGrid/Descriptor.rb', line 753 def filter @filter end |
#id ⇒ Object
Returns the value of attribute id.
753 754 755 |
# File 'lib/IceGrid/Descriptor.rb', line 753 def id @id end |
#loadBalancing ⇒ Object
Returns the value of attribute loadBalancing.
753 754 755 |
# File 'lib/IceGrid/Descriptor.rb', line 753 def loadBalancing @loadBalancing end |
#objects ⇒ Object
Returns the value of attribute objects.
753 754 755 |
# File 'lib/IceGrid/Descriptor.rb', line 753 def objects @objects end |
#proxyOptions ⇒ Object
Returns the value of attribute proxyOptions.
753 754 755 |
# File 'lib/IceGrid/Descriptor.rb', line 753 def proxyOptions @proxyOptions end |
Instance Method Details
#==(other) ⇒ Object
738 739 740 741 742 743 744 745 746 747 |
# File 'lib/IceGrid/Descriptor.rb', line 738 def ==(other) return false if !other.is_a? ::IceGrid::ReplicaGroupDescriptor or @id != other.id or @loadBalancing != other.loadBalancing or @proxyOptions != other.proxyOptions or @objects != other.objects or @description != other.description or @filter != other.filter true end |
#eql?(other) ⇒ Boolean
749 750 751 |
# File 'lib/IceGrid/Descriptor.rb', line 749 def eql?(other) return other.class == self.class && other == self end |
#hash ⇒ Object
727 728 729 730 731 732 733 734 735 736 |
# File 'lib/IceGrid/Descriptor.rb', line 727 def hash _h = 0 _h = 5 * _h + @id.hash _h = 5 * _h + @loadBalancing.hash _h = 5 * _h + @proxyOptions.hash _h = 5 * _h + @objects.hash _h = 5 * _h + @description.hash _h = 5 * _h + @filter.hash _h % 0x7fffffff end |