org.snmp4j.agent.agentx.master
Class AgentXQueue.AgentXQueueEntry

java.lang.Object
  extended by org.snmp4j.agent.agentx.master.AgentXQueue.AgentXQueueEntry
All Implemented Interfaces:
java.lang.Comparable<AgentXQueue.AgentXQueueEntry>
Enclosing class:
AgentXQueue

public class AgentXQueue.AgentXQueueEntry
extends java.lang.Object
implements java.lang.Comparable<AgentXQueue.AgentXQueueEntry>


Constructor Summary
AgentXQueue.AgentXQueueEntry(int transactionID)
           
 
Method Summary
 void addEntry(AgentXPending pendingRequest)
           
 int compareTo(AgentXQueue.AgentXQueueEntry other)
           
 boolean equals(java.lang.Object obj)
           
 AgentXPending get(int sessionID, boolean remove)
           
 int getMinTimeout()
           
 java.util.Collection<AgentXPending> getPending()
           
 long getTimestamp()
           
 int hashCode()
           
 boolean isEmpty()
           
 java.lang.String toString()
           
 void updateTimestamp()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentXQueue.AgentXQueueEntry

public AgentXQueue.AgentXQueueEntry(int transactionID)
Method Detail

addEntry

public final void addEntry(AgentXPending pendingRequest)

updateTimestamp

public final void updateTimestamp()

getTimestamp

public final long getTimestamp()

getMinTimeout

public final int getMinTimeout()

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

toString

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

compareTo

public int compareTo(AgentXQueue.AgentXQueueEntry other)
Specified by:
compareTo in interface java.lang.Comparable<AgentXQueue.AgentXQueueEntry>

get

public final AgentXPending get(int sessionID,
                               boolean remove)

isEmpty

public final boolean isEmpty()

getPending

public final java.util.Collection<AgentXPending> getPending()

Copyright 2005-2011 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.