public class MOSubtreeProxy.OIDTranslator extends Object implements OIDTranslation
Constructor and Description |
---|
OIDTranslator(org.snmp4j.smi.OID remoteOID) |
Modifier and Type | Method and Description |
---|---|
org.snmp4j.smi.OID |
backwardTranslate(org.snmp4j.smi.OID oid)
Translates (changes) an OID from remote to local representation.
|
org.snmp4j.smi.OID |
forwardTranslate(org.snmp4j.smi.OID oid)
Translates (changes) an OID from local to remote representation.
|
String |
toString() |
public org.snmp4j.smi.OID forwardTranslate(org.snmp4j.smi.OID oid)
OIDTranslation
forwardTranslate
in interface OIDTranslation
oid
- a local object identifier that needs to be translated to its remote
representation.public org.snmp4j.smi.OID backwardTranslate(org.snmp4j.smi.OID oid)
OIDTranslation
backwardTranslate
in interface OIDTranslation
oid
- a remote object identifier that needs to be translated to its local
representation.Copyright © 2018 SNMP4J.org. All rights reserved.