Class: SNMP::Opaque

### Home Classes Methods

### In Files

- lib/snmp/varbind.rb

### Parent

SNMP::OctetString

### Methods

- ::decode
- #asn1_type
- #encode

### Files

- README.rdoc

### Class/Module Index

Quicksearch

- SNMP
- SNMP::BER
- SNMP::Counter32
- SNMP::Counter64
- SNMP::EndOfMibView
- SNMP::Gauge32
- SNMP::GetBulkRequest
- SNMP::GetNextRequest
- SNMP::GetRequest
- SNMP::InformRequest
- SNMP::Integer
- SNMP::Integer32
- SNMP::InvalidErrorStatus
- SNMP::InvalidGenericTrap
- SNMP::InvalidIpAddress
- SNMP::InvalidPduTag
- SNMP::InvalidTrapVarbind
- SNMP::IpAddress
- SNMP::MIB
- SNMP::MIB::ModuleNotLoadedError
- SNMP::Manager
- SNMP::Manager::Config
- SNMP::Message
- SNMP::NoSuchInstance
- SNMP::NoSuchObject
- SNMP::Null
- SNMP::ObjectId
- SNMP::ObjectName
- SNMP::OctetString
- SNMP::Opaque
- SNMP::PDU
- SNMP::ParseError
- SNMP::RequestId
- SNMP::RequestTimeout
- SNMP::Response
- SNMP::SNMPv1_Trap
- SNMP::SNMPv2_Trap
- SNMP::SetRequest
- SNMP::TimeTicks
- SNMP::TrapListener
- SNMP::TrapListener::Config
- SNMP::UDPServerTransport
- SNMP::UDPTransport
- SNMP::Unsigned32
- SNMP::UnsignedInteger
- SNMP::UnsupportedPduTag
- SNMP::UnsupportedValueTag
- SNMP::UnsupportedVersion
- SNMP::VarBind
- SNMP::VarBindList
- Fixnum
- Object

No matching classes.

# SNMP::Opaque

### Public Class Methods

decode(value_data) click to toggle source

    # File lib/snmp/varbind.rb, line 407
    def self.decode(value_data)
      Opaque.new(value_data)
    end

### Public Instance Methods

asn1_type() click to toggle source

    # File lib/snmp/varbind.rb, line 411
    def asn1_type
      "Opaque"
    end

encode() click to toggle source

    # File lib/snmp/varbind.rb, line 415
    def encode
      encode_tlv(Opaque_TAG, self)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.