- java.lang.Object
-
- org.snmp4j.agent.mo.snmp4j.MOSubtreeProxy.OIDTranslator
-
- All Implemented Interfaces:
OIDTranslation
- Enclosing class:
- MOSubtreeProxy
public class MOSubtreeProxy.OIDTranslator extends Object implements OIDTranslation
-
-
Constructor Summary
Constructors Constructor Description OIDTranslator(org.snmp4j.smi.OID remoteOID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.snmp4j.smi.OIDbackwardTranslate(org.snmp4j.smi.OID oid)Translates (changes) an OID from remote to local representation.org.snmp4j.smi.OIDforwardTranslate(org.snmp4j.smi.OID oid)Translates (changes) an OID from local to remote representation.StringtoString()
-
-
-
Method Detail
-
forwardTranslate
public org.snmp4j.smi.OID forwardTranslate(org.snmp4j.smi.OID oid)
Description copied from interface:OIDTranslationTranslates (changes) an OID from local to remote representation.- Specified by:
forwardTranslatein interfaceOIDTranslation- Parameters:
oid- a local object identifier that needs to be translated to its remote representation.- Returns:
- the translated OID.
-
backwardTranslate
public org.snmp4j.smi.OID backwardTranslate(org.snmp4j.smi.OID oid)
Description copied from interface:OIDTranslationTranslates (changes) an OID from remote to local representation.- Specified by:
backwardTranslatein interfaceOIDTranslation- Parameters:
oid- a remote object identifier that needs to be translated to its local representation.- Returns:
- the translated OID.
-
-