class Netconf::Transport
Attributes
logging[RW]
Public Class Methods
new() { |self| ... }
click to toggle source
# File lib/sloe/common.rb, line 47 def initialize(&block) @state = :NETCONF_CLOSED @os_type = @args[:os_type] || Netconf::DEFAULT_OS_TYPE @rpc = Netconf::RPC::Executor.new(self, @os_type, self.logging) @rpc_message_id = 1 if block_given? open(&block = nil) # do not pass this block to open() yield self close end end