Class ExpiredNot

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Define serialVersionUID for interoperability.
        See Also:
        Constant Field Values
      • expiredNot

        private Notification expiredNot
        The expiration which had expired.
      • from

        private AgentId from
        The agent which sent the expired notification.
      • to

        private AgentId to
        The destination agent of the expired notification.
    • Constructor Detail

      • ExpiredNot

        public ExpiredNot​(Notification expiredNot,
                          AgentId from,
                          AgentId to)
        Builds a notification carrying an expired notification.
        Parameters:
        expiredNot - The expiration which had expired.
        from - The agent which sent the expired notification.
        to - The destination agent of the expired notification.
    • Method Detail

      • getFromAgentId

        public AgentId getFromAgentId()
        Returns:
        The agent which sent the expired notification.
      • getToAgentId

        public AgentId getToAgentId()
        Returns:
        The destination agent of the expired notification.
      • getExpiredNot

        public Notification getExpiredNot()
        Returns:
        The notification which had expired.