Package org.snmp4j.agent.util
Interface OIDTranslation
- All Known Implementing Classes:
MOSubtreeProxy.OIDTranslator
public interface OIDTranslation
The definition of OID translation specifications.
Forward translation changes an OID from local to remote representation.
Backward translation changes an OID from remote to local representation.
- Since:
- 2.0
- Version:
- 2.0
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionorg.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.
-
Method Details
-
forwardTranslate
org.snmp4j.smi.OID forwardTranslate(org.snmp4j.smi.OID oid) Translates (changes) an OID from local to remote representation.- Parameters:
oid
- a local object identifier that needs to be translated to its remote representation.- Returns:
- the translated OID.
-
backwardTranslate
org.snmp4j.smi.OID backwardTranslate(org.snmp4j.smi.OID oid) Translates (changes) an OID from remote to local representation.- Parameters:
oid
- a remote object identifier that needs to be translated to its local representation.- Returns:
- the translated OID.
-