Package org.snmp4j.agent.agentx.master
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>
A
AgentXPendingClose
is a special AbstractAgentXPending
message for AgentX Close requests.- See Also:
-
Field Summary
Fields inherited from class org.snmp4j.agent.agentx.master.AbstractAgentXPending
registration
-
Constructor Summary
ConstructorsConstructorDescriptionAgentXPendingClose
(AgentXMasterSession<A> session, AgentXClosePDU pendingClosePDU) Creates aAgentXPendingClose
from session and close PDU. -
Method Summary
Modifier and TypeMethodDescriptionGets the AgentX PDU.org.snmp4j.agent.request.SubRequestIterator
<org.snmp4j.agent.request.SnmpRequest.SnmpSubRequest> Get the references to the SNMP sub-requests that triggered the AgentX request.Gets the master agent session.Methods inherited from class org.snmp4j.agent.agentx.master.AbstractAgentXPending
getRegistration, getRequest, getTimeout, getTimestamp, isPending, setPending, setTimeout, toString, toStringMembers, updateTimestamp
-
Constructor Details
-
AgentXPendingClose
Creates aAgentXPendingClose
from session and close PDU.- Parameters:
session
- the session that received the close.pendingClosePDU
- the close PDU.
-
-
Method Details
-
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
Description copied from interface:AgentXPending
Gets the master agent session.- Returns:
- the
AgentXMasterSession
.
-