public interface AgentXPending
AgentXPending interface is implemented
by classes holding sub-agent AgentX request state information.| Modifier and Type | Method and Description |
|---|---|
AgentXPDU |
getAgentXPDU() |
org.snmp4j.agent.request.SubRequestIterator |
getReferences() |
AgentXRegEntry |
getRegistration() |
org.snmp4j.agent.request.SnmpRequest |
getRequest() |
AgentXMasterSession |
getSession() |
int |
getTimeout()
Gets the timeout seconds set for this pending AgentX request.
|
long |
getTimestamp()
Gets the timestamp (in milliseconds) when
updateTimestamp()
had been called last. |
boolean |
isPending() |
void |
setPending(boolean pending) |
void |
setTimeout(int timeoutSeconds) |
void |
updateTimestamp()
Set the timestamp to the current time (in milliseconds).
|
AgentXPDU getAgentXPDU()
AgentXRegEntry getRegistration()
AgentXMasterSession getSession()
boolean isPending()
void setPending(boolean pending)
org.snmp4j.agent.request.SnmpRequest getRequest()
org.snmp4j.agent.request.SubRequestIterator getReferences()
void updateTimestamp()
long getTimestamp()
updateTimestamp()
had been called last.System.currentTimeMillis() when updateTimestamp()
had been called or zero if it had not been called yet.void setTimeout(int timeoutSeconds)
int getTimeout()
Copyright © 2014 SNMP4J.org. All Rights Reserved.