Class AgentXPendingClose<A extends org.snmp4j.smi.Address>

java.lang.Object
org.snmp4j.agent.agentx.master.AbstractAgentXPending<A>
org.snmp4j.agent.agentx.master.AgentXPendingClose<A>
Type Parameters:
A - the address type.
All Implemented Interfaces:
Serializable, AgentXPending<A>

public class AgentXPendingClose<A extends org.snmp4j.smi.Address> extends AbstractAgentXPending<A>
A AgentXPendingClose is a special AbstractAgentXPending message for AgentX Close requests.
See Also:
  • Constructor Details

    • AgentXPendingClose

      public AgentXPendingClose(AgentXMasterSession<A> session, AgentXClosePDU pendingClosePDU)
      Creates a AgentXPendingClose from session and close PDU.
      Parameters:
      session - the session that received the close.
      pendingClosePDU - the close PDU.
  • Method Details

    • getAgentXPDU

      public AgentXPDU getAgentXPDU()
      Description copied from interface: AgentXPending
      Gets the AgentX PDU.
      Returns:
      the AgentXPDU.
    • getReferences

      public org.snmp4j.agent.request.SubRequestIterator<org.snmp4j.agent.request.SnmpRequest.SnmpSubRequest> getReferences()
      Description copied from interface: AgentXPending
      Get the references to the SNMP sub-requests that triggered the AgentX request.
      Returns:
      an iterator on the SNMP requests associated with this AgentX pending request.
    • getSession

      public AgentXMasterSession<A> getSession()
      Description copied from interface: AgentXPending
      Gets the master agent session.
      Returns:
      the AgentXMasterSession.