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

      All Methods Instance Methods Abstract Methods 
      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.
    • Method Detail

      • 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.