Active Virtual Network Management Prediction (AVNMP) Classes

snmp.agent
Class AgentEmulator

java.lang.Object
  |
  +--snmp.agent.AgentEmulator
All Implemented Interfaces:
AgentTableInterface, java.io.Serializable

public class AgentEmulator
extends java.lang.Object
implements AgentTableInterface, java.io.Serializable

This research is funded by DARPA/ITO Contract Number: F30602-98-C-0230 supported by the Air Force Research Laboratory/IF.

Version:
$Revision: 1.1.1.1 $ $State: Exp $
Author:
Steve Bush
See Also:
Serialized Form

Constructor Summary
AgentEmulator()
           
 
Method Summary
 boolean addSubAgent(java.lang.String oid, int value)
           
 boolean addSubAgent(java.lang.String oid, long value)
           
 boolean addSubAgent(java.lang.String oid, java.lang.String value)
           
 int getIntSubAgent(java.lang.String oid)
           
 long getLongSubAgent(java.lang.String oid)
           
 java.lang.String getNextSubAgent(java.lang.String oid)
           
 java.lang.String getStringSubAgent(java.lang.String oid)
           
 boolean removeBranch(java.lang.String first_oid, java.lang.String last_oid)
           
 boolean removeSubAgent(java.lang.String oid)
           
 boolean updateSubAgent(java.lang.String oid, int value, java.lang.String index)
           
 boolean updateSubAgent(java.lang.String oid, long value, java.lang.String index)
           
 boolean updateSubAgent(java.lang.String oid, java.lang.String value, java.lang.String index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentEmulator

public AgentEmulator()
Method Detail

addSubAgent

public boolean addSubAgent(java.lang.String oid,
                           int value)
                    throws DuplicateEntryException
Specified by:
addSubAgent in interface AgentTableInterface

addSubAgent

public boolean addSubAgent(java.lang.String oid,
                           long value)
                    throws DuplicateEntryException
Specified by:
addSubAgent in interface AgentTableInterface

addSubAgent

public boolean addSubAgent(java.lang.String oid,
                           java.lang.String value)
                    throws DuplicateEntryException
Specified by:
addSubAgent in interface AgentTableInterface

updateSubAgent

public boolean updateSubAgent(java.lang.String oid,
                              int value,
                              java.lang.String index)
                       throws InvalidIdException
Specified by:
updateSubAgent in interface AgentTableInterface

updateSubAgent

public boolean updateSubAgent(java.lang.String oid,
                              long value,
                              java.lang.String index)
                       throws InvalidIdException
Specified by:
updateSubAgent in interface AgentTableInterface

updateSubAgent

public boolean updateSubAgent(java.lang.String oid,
                              java.lang.String value,
                              java.lang.String index)
                       throws InvalidIdException
Specified by:
updateSubAgent in interface AgentTableInterface

getIntSubAgent

public int getIntSubAgent(java.lang.String oid)
                   throws InvalidIdException
Specified by:
getIntSubAgent in interface AgentTableInterface

getLongSubAgent

public long getLongSubAgent(java.lang.String oid)
                     throws InvalidIdException
Specified by:
getLongSubAgent in interface AgentTableInterface

getStringSubAgent

public java.lang.String getStringSubAgent(java.lang.String oid)
                                   throws InvalidIdException
Specified by:
getStringSubAgent in interface AgentTableInterface

getNextSubAgent

public java.lang.String getNextSubAgent(java.lang.String oid)
                                 throws InvalidIdException
Specified by:
getNextSubAgent in interface AgentTableInterface

removeSubAgent

public boolean removeSubAgent(java.lang.String oid)
                       throws InvalidIdException
Specified by:
removeSubAgent in interface AgentTableInterface

removeBranch

public boolean removeBranch(java.lang.String first_oid,
                            java.lang.String last_oid)
                     throws InvalidIdException
Specified by:
removeBranch in interface AgentTableInterface

Active Virtual Network Management Prediction (AVNMP) Classes