org.snmp4j.agent.agentx.master
Class AgentXNode

java.lang.Object
  extended by org.snmp4j.agent.agentx.master.AgentXNode
All Implemented Interfaces:
org.snmp4j.agent.ManagedObject

public class AgentXNode
extends java.lang.Object
implements org.snmp4j.agent.ManagedObject

A AgentXNode represents an atomic registration region within the master agents ManagedObjects. There can be several AgentXNodes for a single AgentX region registration.

Version:
1.0
Author:
Frank Fock

Constructor Summary
  AgentXNode(AgentXRegion region, AgentXRegEntry registration)
           
protected AgentXNode(AgentXRegion region, java.util.TreeSet<AgentXRegEntry> registrations)
           
 
Method Summary
 void addRegistration(AgentXRegEntry entry)
           
 void cleanup(org.snmp4j.agent.request.SubRequest request)
           
 void commit(org.snmp4j.agent.request.SubRequest request)
           
 boolean expand(org.snmp4j.smi.OID upper, boolean inclusive)
           
 org.snmp4j.smi.OID find(org.snmp4j.agent.MOScope range)
           
 void get(org.snmp4j.agent.request.SubRequest request)
           
 AgentXRegEntry getActiveRegistration()
           
 AgentXNode getClone(AgentXRegion region)
           
 int getRegistrationCount()
           
 org.snmp4j.agent.MOScope getScope()
           
 boolean next(org.snmp4j.agent.request.SubRequest request)
           
 void prepare(org.snmp4j.agent.request.SubRequest request)
           
 boolean removeRegistration(AgentXRegEntry entry)
           
 boolean shrink(org.snmp4j.smi.OID upper)
           
 java.lang.String toString()
           
 void undo(org.snmp4j.agent.request.SubRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentXNode

public AgentXNode(AgentXRegion region,
                  AgentXRegEntry registration)

AgentXNode

protected AgentXNode(AgentXRegion region,
                     java.util.TreeSet<AgentXRegEntry> registrations)
Method Detail

getClone

public AgentXNode getClone(AgentXRegion region)

getRegistrationCount

public int getRegistrationCount()

shrink

public boolean shrink(org.snmp4j.smi.OID upper)

expand

public boolean expand(org.snmp4j.smi.OID upper,
                      boolean inclusive)

addRegistration

public void addRegistration(AgentXRegEntry entry)

removeRegistration

public boolean removeRegistration(AgentXRegEntry entry)

find

public org.snmp4j.smi.OID find(org.snmp4j.agent.MOScope range)
Specified by:
find in interface org.snmp4j.agent.ManagedObject

getActiveRegistration

public final AgentXRegEntry getActiveRegistration()

get

public void get(org.snmp4j.agent.request.SubRequest request)
Specified by:
get in interface org.snmp4j.agent.ManagedObject

getScope

public org.snmp4j.agent.MOScope getScope()
Specified by:
getScope in interface org.snmp4j.agent.ManagedObject

next

public boolean next(org.snmp4j.agent.request.SubRequest request)
Specified by:
next in interface org.snmp4j.agent.ManagedObject

prepare

public void prepare(org.snmp4j.agent.request.SubRequest request)
Specified by:
prepare in interface org.snmp4j.agent.ManagedObject

undo

public void undo(org.snmp4j.agent.request.SubRequest request)
Specified by:
undo in interface org.snmp4j.agent.ManagedObject

cleanup

public void cleanup(org.snmp4j.agent.request.SubRequest request)
Specified by:
cleanup in interface org.snmp4j.agent.ManagedObject

commit

public void commit(org.snmp4j.agent.request.SubRequest request)
Specified by:
commit in interface org.snmp4j.agent.ManagedObject

toString

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

Copyright 2005-2011 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.