public interface PingListener extends EventListener
PingListener
is interested in receiving PingEvent objects
to control the ability of an AgentX peer (session) of processing requests.Modifier and Type | Method and Description |
---|---|
void |
pinged(PingEvent event)
A AgentX ping PDU has been sent and probably a corresponding response
received.
|
void pinged(PingEvent event)
event
- the PingEvent generated. Depending on the ping history and local
constraints a listener may set the closeSession and resetSession
attributes to indicate that the session is no longer functional
and should be closed or resetted.Copyright © 2016 SNMP4J.org. All rights reserved.