class HrrRbNetconf::Server::NotificationStream
Attributes
blk[R]
Public Class Methods
new(blk, replay_support)
click to toggle source
# File lib/hrr_rb_netconf/server/notification_stream.rb, line 9 def initialize blk, replay_support @blk = blk @replay_support = replay_support end
Public Instance Methods
match?(event_xml)
click to toggle source
# File lib/hrr_rb_netconf/server/notification_stream.rb, line 14 def match? event_xml if @blk.call(event_xml) true else false end end
support_replay?()
click to toggle source
# File lib/hrr_rb_netconf/server/notification_stream.rb, line 22 def support_replay? @replay_support end