Class: EMStatsd::BaseWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/em_statsd/base_wrapper.rb

Direct Known Subclasses

TCPWrapper, UDPWrapper

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#connectionObject (readonly)

Returns the value of attribute connection.



4
5
6
# File 'lib/em_statsd/base_wrapper.rb', line 4

def connection
  @connection
end

Instance Method Details

#closeObject



6
7
8
# File 'lib/em_statsd/base_wrapper.rb', line 6

def close
  connection.close_connection_after_writing
end

#flushObject



10
11
12
# File 'lib/em_statsd/base_wrapper.rb', line 10

def flush

end

#write(_) ⇒ Object



14
15
16
# File 'lib/em_statsd/base_wrapper.rb', line 14

def write(_)

end