org.snmp4j.agent.agentx.subagent.index
Class AnyNewIndexOID

java.lang.Object
  extended by org.snmp4j.smi.AbstractVariable
      extended by org.snmp4j.smi.OID
          extended by org.snmp4j.agent.agentx.subagent.index.AnyNewIndexOID
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<org.snmp4j.smi.Variable>, org.snmp4j.asn1.BERSerializable, org.snmp4j.smi.AssignableFromIntArray, org.snmp4j.smi.AssignableFromString, org.snmp4j.smi.Variable

public class AnyNewIndexOID
extends org.snmp4j.smi.OID

The AnyNewIndexOID is a special OID subclass for shared table indexes. This object can be used to create a locally unique index value during sub-agent initialization that will be replaced by a globally unique index when AgentX connection is being established.

Version:
1.0
Author:
Frank Fock
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.snmp4j.smi.OID
MAX_OID_LEN, MAX_SUBID_VALUE
 
Fields inherited from class org.snmp4j.smi.AbstractVariable
SMISYNTAXES_PROPERTIES
 
Constructor Summary
AnyNewIndexOID()
           
AnyNewIndexOID(int[] index)
           
AnyNewIndexOID(java.lang.String index)
           
 
Method Summary
 java.lang.Object clone()
           
 
Methods inherited from class org.snmp4j.smi.OID
append, append, append, appendUnsigned, compareTo, decodeBER, encodeBER, equals, fromSubIndex, get, getBERLength, getSyntax, getUnsigned, getValue, hashCode, isValid, last, lastUnsigned, leftMostCompare, mask, max, min, nextPeer, predecessor, removeLast, rightMostCompare, set, setValue, setValue, size, startsWith, successor, toByteArray, toInt, toIntArray, toLong, toString, toSubIndex, trim, trim
 
Methods inherited from class org.snmp4j.smi.AbstractVariable
createFromBER, createFromSyntax, equal, getBERPayloadLength, getSyntaxFromString, getSyntaxString, getSyntaxString, isDynamic, isException
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnyNewIndexOID

public AnyNewIndexOID()

AnyNewIndexOID

public AnyNewIndexOID(int[] index)

AnyNewIndexOID

public AnyNewIndexOID(java.lang.String index)
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in interface org.snmp4j.smi.Variable
Overrides:
clone in class org.snmp4j.smi.OID

Copyright 2005-2011 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.