class SNMP::Response

Public Instance Methods

encode() click to toggle source
# File lib/snmp/pdu.rb, line 246
def encode
  encode_pdu(Response_PDU_TAG)
end
from_pdu(request) click to toggle source
# File lib/snmp/pdu.rb, line 240
def from_pdu(request)
  Response.new(request.request_id, request.varbind_list,
               :noError, 0)
end