Interface PingListener

All Superinterfaces:
EventListener

public interface PingListener extends EventListener
A PingListener is interested in receiving PingEvent objects to control the ability of an AgentX peer (session) of processing requests.
Version:
1.0
Author:
Frank Fock
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    pinged(PingEvent<?> event)
    A AgentX ping PDU has been sent and probably a corresponding response received.
  • Method Details

    • pinged

      void pinged(PingEvent<?> event)
      A AgentX ping PDU has been sent and probably a corresponding response received.
      Parameters:
      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.