Class SnmpProxyObjectImpl

java.lang.Object
org.snmp4j.model.snmp.proxy.impl.SnmpProxyObjectImpl
All Implemented Interfaces:
SnmpProxyObject
Direct Known Subclasses:
SnmpGroupImplRO, SnmpScalarImplRO, SnmpSubTreeImplRO

public abstract class SnmpProxyObjectImpl extends Object implements SnmpProxyObject
The SnmpProxyObjectImpl class implements the SnmpProxyObject interface.
Author:
Frank Fock
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.snmp4j.smi.OctetString
     
    protected org.snmp4j.smi.OID
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    SnmpProxyObjectImpl(org.snmp4j.smi.OctetString context, org.snmp4j.smi.OID oid)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.snmp4j.smi.OctetString
    Get the context of the proxy object.
    org.snmp4j.smi.OID
    Gets the unique identifier of this proxy object.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.snmp4j.model.snmp.proxy.SnmpProxyObject

    reload, waitForTask
  • Field Details

    • oid

      protected org.snmp4j.smi.OID oid
    • context

      protected org.snmp4j.smi.OctetString context
  • Constructor Details

    • SnmpProxyObjectImpl

      protected SnmpProxyObjectImpl(org.snmp4j.smi.OctetString context, org.snmp4j.smi.OID oid)
  • Method Details

    • getContext

      public org.snmp4j.smi.OctetString getContext()
      Description copied from interface: SnmpProxyObject
      Get the context of the proxy object.
      Specified by:
      getContext in interface SnmpProxyObject
      Returns:
      the context associated with this proxy object.
    • getOID

      public org.snmp4j.smi.OID getOID()
      Description copied from interface: SnmpProxyObject
      Gets the unique identifier of this proxy object. Typically this is the root OID of the MIB objects managed by this proxy. If the proxy manages a single instance only, this should be the instance identifier.
      Specified by:
      getOID in interface SnmpProxyObject
      Returns:
      the OID for this proxy object.
    • toString

      public String toString()
      Overrides:
      toString in class Object