Class: IceMX::ConnectionMetrics
- Inherits:
-
Metrics
- Object
- Ice::Value
- Metrics
- IceMX::ConnectionMetrics
- Defined in:
- ruby/Ice/Metrics.rb
Instance Attribute Summary collapse
-
#receivedBytes ⇒ Object
Returns the value of attribute receivedBytes.
-
#sentBytes ⇒ Object
Returns the value of attribute sentBytes.
Attributes inherited from Metrics
#current, #failures, #id, #total, #totalLifetime
Attributes inherited from Ice::Value
Instance Method Summary collapse
-
#initialize(id = '', total = 0, current = 0, totalLifetime = 0, failures = 0, receivedBytes = 0, sentBytes = 0) ⇒ ConnectionMetrics
constructor
A new instance of ConnectionMetrics.
Methods inherited from Ice::Value
#ice_getSlicedData, #ice_id, ice_staticId, #inspect
Constructor Details
#initialize(id = '', total = 0, current = 0, totalLifetime = 0, failures = 0, receivedBytes = 0, sentBytes = 0) ⇒ ConnectionMetrics
Returns a new instance of ConnectionMetrics.
276 277 278 279 280 |
# File 'ruby/Ice/Metrics.rb', line 276 def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, receivedBytes=0, sentBytes=0) super(id, total, current, totalLifetime, failures) @receivedBytes = receivedBytes @sentBytes = sentBytes end |
Instance Attribute Details
#receivedBytes ⇒ Object
Returns the value of attribute receivedBytes.
282 283 284 |
# File 'ruby/Ice/Metrics.rb', line 282 def receivedBytes @receivedBytes end |
#sentBytes ⇒ Object
Returns the value of attribute sentBytes.
282 283 284 |
# File 'ruby/Ice/Metrics.rb', line 282 def sentBytes @sentBytes end |