public interface AgentXPending
AgentXPending
interface is implemented
by classes holding sub-agent AgentX request state information.Modifier and Type | Method and Description |
---|---|
AgentXPDU |
getAgentXPDU() |
SubRequestIterator<SnmpSubRequest> |
getReferences() |
AgentXRegEntry |
getRegistration() |
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)
SnmpRequest getRequest()
SubRequestIterator<SnmpSubRequest> 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 © 2016 SNMP4J.org. All rights reserved.