org.objectweb.joram.mom.notifications
Class TopicForwardNot

java.lang.Object
  extended by fr.dyade.aaa.agent.Notification
      extended by org.objectweb.joram.mom.notifications.TopicForwardNot
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class TopicForwardNot
extends Notification

A TopicForwardNot is a notification sent by a topic to another topic part of the same cluster, or to its hierarchical father, and holding a forwarded ClientMessages notification.

See Also:
Serialized Form

Field Summary
 boolean fromCluster
          true if the notification is destinated to a hierarchical father.
 ClientMessages messages
          The forwarded messages.
 
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
 
Constructor Summary
TopicForwardNot(ClientMessages messages, boolean fromCluster)
          Constructs a TopicForwardNot instance.
 
Method Summary
 
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

fromCluster

public boolean fromCluster
true if the notification is destinated to a hierarchical father.


messages

public ClientMessages messages
The forwarded messages.

Constructor Detail

TopicForwardNot

public TopicForwardNot(ClientMessages messages,
                       boolean fromCluster)
Constructs a TopicForwardNot instance.

Parameters:
messages - Notification to forward.
fromCluster - true if the notification is coming from a cluster friend.


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