lib/fluent/plugin/input_session.rb in fluent-plugin-secure-forward-0.2.3 vs lib/fluent/plugin/input_session.rb in fluent-plugin-secure-forward-0.2.4
- old
+ new
@@ -24,9 +24,13 @@
def log
@receiver.log
end
+ def closed?
+ @state == :closed
+ end
+
def established?
@state == :established
end
def generate_salt