Class: IceGrid::ReplicaGroupDescriptor
- Inherits:
-
Object
- Object
- IceGrid::ReplicaGroupDescriptor
- Includes:
- Ice::Inspect_mixin
- Defined in:
- ruby/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.
679 680 681 682 683 684 685 686 |
# File 'ruby/IceGrid/Descriptor.rb', line 679 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.
714 715 716 |
# File 'ruby/IceGrid/Descriptor.rb', line 714 def description @description end |
#filter ⇒ Object
Returns the value of attribute filter.
714 715 716 |
# File 'ruby/IceGrid/Descriptor.rb', line 714 def filter @filter end |
#id ⇒ Object
Returns the value of attribute id.
714 715 716 |
# File 'ruby/IceGrid/Descriptor.rb', line 714 def id @id end |
#loadBalancing ⇒ Object
Returns the value of attribute loadBalancing.
714 715 716 |
# File 'ruby/IceGrid/Descriptor.rb', line 714 def loadBalancing @loadBalancing end |
#objects ⇒ Object
Returns the value of attribute objects.
714 715 716 |
# File 'ruby/IceGrid/Descriptor.rb', line 714 def objects @objects end |
#proxyOptions ⇒ Object
Returns the value of attribute proxyOptions.
714 715 716 |
# File 'ruby/IceGrid/Descriptor.rb', line 714 def proxyOptions @proxyOptions end |
Instance Method Details
#==(other) ⇒ Object
699 700 701 702 703 704 705 706 707 708 |
# File 'ruby/IceGrid/Descriptor.rb', line 699 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
710 711 712 |
# File 'ruby/IceGrid/Descriptor.rb', line 710 def eql?(other) return other.class == self.class && other == self end |
#hash ⇒ Object
688 689 690 691 692 693 694 695 696 697 |
# File 'ruby/IceGrid/Descriptor.rb', line 688 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 |