Class MOSubtreeProxy.OIDTranslator

    • Constructor Detail

      • OIDTranslator

        public OIDTranslator​(org.snmp4j.smi.OID remoteOID)
    • Method Detail

      • forwardTranslate

        public org.snmp4j.smi.OID forwardTranslate​(org.snmp4j.smi.OID oid)
        Description copied from interface: OIDTranslation
        Translates (changes) an OID from local to remote representation.
        Specified by:
        forwardTranslate in interface OIDTranslation
        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: OIDTranslation
        Translates (changes) an OID from remote to local representation.
        Specified by:
        backwardTranslate in interface OIDTranslation
        Parameters:
        oid - a remote object identifier that needs to be translated to its local representation.
        Returns:
        the translated OID.