org.snmp4j.agent.mo.snmp4j
Class MOSubtreeProxy.OIDTranslator

java.lang.Object
  extended by org.snmp4j.agent.mo.snmp4j.MOSubtreeProxy.OIDTranslator
All Implemented Interfaces:
OIDTranslation
Enclosing class:
MOSubtreeProxy

public class MOSubtreeProxy.OIDTranslator
extends java.lang.Object
implements OIDTranslation


Constructor Summary
MOSubtreeProxy.OIDTranslator(org.snmp4j.smi.OID remoteOID)
           
 
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.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MOSubtreeProxy.OIDTranslator

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.