Class Z21HeartBeat

  • All Implemented Interfaces:
    java.util.EventListener, AbstractMRListener, Z21Listener

    public class Z21HeartBeat
    extends java.lang.Object
    implements Z21Listener
    Z21 specific class to send heartbeat messages to the Z21. Heartbeat messages are only required if no other messages are sent for a specific period of time, so any outgoing message should restart the timer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose()  
      void message​(Z21Message msg)
      Member function that will be invoked by a z21Interface implementation to forward a z21 message sent to the layout.
      void reply​(Z21Reply msg)
      Member function that will be invoked by a z21Interface implementation to forward a z21 message from the layout.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • reply

        public void reply​(Z21Reply msg)
        Member function that will be invoked by a z21Interface implementation to forward a z21 message from the layout.
        Specified by:
        reply in interface Z21Listener
        Parameters:
        msg - The received z21 reply. Note that this same object may be presented to multiple users. It should not be modified here.
      • message

        public void message​(Z21Message msg)
        Member function that will be invoked by a z21Interface implementation to forward a z21 message sent to the layout. Normally, this function will do nothing.
        Specified by:
        message in interface Z21Listener
        Parameters:
        msg - The received z21 message. Note that this same object may be presented to multiple users. It should not be modified here.