org.snmp4j.agent.agentx.master
Class AgentXRegEntry

java.lang.Object
  extended by org.snmp4j.agent.agentx.master.AgentXRegEntry
All Implemented Interfaces:
java.lang.Comparable<AgentXRegEntry>

public class AgentXRegEntry
extends java.lang.Object
implements java.lang.Comparable<AgentXRegEntry>


Constructor Summary
AgentXRegEntry(AgentXMasterSession session, AgentXRegion region, int priority, org.snmp4j.smi.OctetString context, int timeout)
           
 
Method Summary
 int compareTo(AgentXRegEntry other)
          Compares this object with the specified object for order.
 boolean equals(java.lang.Object obj)
           
 org.snmp4j.smi.OctetString getContext()
           
 org.snmp4j.smi.OID getId()
           
 int getPriority()
           
 AgentXRegion getRegion()
           
 AgentXMasterSession getSession()
           
 int getSpecific()
           
 int getTimeout()
           
 int hashCode()
           
 void setId(org.snmp4j.smi.OID id)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentXRegEntry

public AgentXRegEntry(AgentXMasterSession session,
                      AgentXRegion region,
                      int priority,
                      org.snmp4j.smi.OctetString context,
                      int timeout)
Method Detail

getContext

public org.snmp4j.smi.OctetString getContext()

getPriority

public int getPriority()

getRegion

public AgentXRegion getRegion()

getSession

public AgentXMasterSession getSession()

getSpecific

public int getSpecific()

getTimeout

public int getTimeout()

getId

public org.snmp4j.smi.OID getId()

compareTo

public int compareTo(AgentXRegEntry other)
Compares this object with the specified object for order.

Specified by:
compareTo in interface java.lang.Comparable<AgentXRegEntry>
Parameters:
other - the AgentXRegEntry to be compared.
Returns:
a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

setId

public void setId(org.snmp4j.smi.OID id)

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.