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

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.