Class: IceMX::ConnectionMetrics
- Inherits:
-
Metrics
- Object
- Ice::Value
- Metrics
- IceMX::ConnectionMetrics
- Defined in:
- lib/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.
319 320 321 322 323 |
# File 'lib/Ice/Metrics.rb', line 319 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.
325 326 327 |
# File 'lib/Ice/Metrics.rb', line 325 def receivedBytes @receivedBytes end |
#sentBytes ⇒ Object
Returns the value of attribute sentBytes.
325 326 327 |
# File 'lib/Ice/Metrics.rb', line 325 def sentBytes @sentBytes end |