Package org.snmp4j.model.snmp.proxy.impl
Class SnmpProxyObjectImpl
java.lang.Object
org.snmp4j.model.snmp.proxy.impl.SnmpProxyObjectImpl
- All Implemented Interfaces:
SnmpProxyObject
- Direct Known Subclasses:
SnmpGroupImplRO
,SnmpScalarImplRO
,SnmpSubTreeImplRO
The
SnmpProxyObjectImpl
class implements the SnmpProxyObject
interface.- Author:
- Frank Fock
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SnmpProxyObjectImpl
(org.snmp4j.smi.OctetString context, org.snmp4j.smi.OID oid) -
Method Summary
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 interfaceSnmpProxyObject
- 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 interfaceSnmpProxyObject
- Returns:
- the OID for this proxy object.
-
toString
-