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
private  Notification expiredNot
          The expiration which had expired.
private  AgentId from
          The agent which sent the expired notification.
private static long serialVersionUID
          Define serialVersionUID for interoperability.
private  AgentId to
          The destination agent of the expired notification.
 
Fields inherited from class fr.dyade.aaa.agent.Notification
deadNotificationAgentId, detachable, detached, expiration, messageId, persistent, priority
 
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
 

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.


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