OIDTranslation
public class MOSubtreeProxy.OIDTranslator extends java.lang.Object implements OIDTranslation
Constructor | Description |
---|---|
OIDTranslator(org.snmp4j.smi.OID remoteOID) |
Modifier and Type | Method | 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.
|
java.lang.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.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 SNMP4J.org. All rights reserved.