Method: NETSNMP::Session#close

Defined in:
lib/netsnmp/session.rb

#closeObject

Closes the session



27
28
29
30
31
# File 'lib/netsnmp/session.rb', line 27

def close
  # if the transport came as an argument,
  # then let the outer realm care for its lifecycle
  @transport.close unless @proxy
end