Class: Mongo::Monitoring::Event::ServerClosed
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
           ::Mongo::Event::Base | |
| Instance Chain: 
          self,
           ::Mongo::Event::Base | |
| Inherits: | Mongo::Event::Base 
 | 
| Defined in: | lib/mongo/monitoring/event/server_closed.rb | 
Overview
::Mongo::Monitoring::Event fired when the server is closed.
Class Method Summary
- 
    
      .new(address, topology)  ⇒ ServerClosed 
    
    constructor
    Create the event. 
Instance Attribute Summary
- #address ⇒ Address readonly
- #topology ⇒ Topology readonly
Instance Method Summary
- 
    
      #summary  ⇒ String 
    
    Returns a concise yet useful summary of the event. 
::Mongo::Event::Base - Inherited
| #summary | Returns a concise yet useful summary of the event. | 
| #short_class_name | |
Constructor Details
    .new(address, topology)  ⇒ ServerClosed 
  
Create the event.
Instance Attribute Details
#address ⇒ Address (readonly)
# File 'lib/mongo/monitoring/event/server_closed.rb', line 28
attr_reader :address
    #topology  ⇒ Topology  (readonly)
  
# File 'lib/mongo/monitoring/event/server_closed.rb', line 31
attr_reader :topology
Instance Method Details
    #summary  ⇒ String 
  
    Note:
    
  
This method is experimental and subject to change.
Returns a concise yet useful summary of the event.