fr.dyade.aaa.agent
Class ExpiredNot

java.lang.Object
  extended by fr.dyade.aaa.agent.Notification
      extended by fr.dyade.aaa.agent.ExpiredNot
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ExpiredNot
extends Notification

The ExpiredNot holds an expired notification (timeout) which is sent to the previously specified deadNotificationAgent.

See Also:
Notification.setDeadNotificationAgentId(fr.dyade.aaa.agent.AgentId), Serialized Form

Field Summary
 
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
 
Constructor Summary
ExpiredNot(Notification expiredNot, AgentId from, AgentId to)
          Builds a notification carrying an expired notification.
 
Method Summary
 Notification getExpiredNot()
           
 AgentId getFromAgentId()
           
 AgentId getToAgentId()
           
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getDeadNotificationAgentId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.


Copyright © 2011 ScalAgent D.T.. All Rights Reserved.