org.objectweb.joram.mom.dest
Class ClusterAck

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

 class ClusterAck
extends Notification

A ClusterAck instance is a notification sent by a topic requested to join a cluster.


Field Summary
(package private)  java.lang.String info
          Info.
(package private)  boolean ok
          true if the topic can join the cluster.
private  java.lang.String replyMsgId
          The generated JMS message id. for the reply
private  AgentId replyTo
          The JMS destination to send the reply
private  java.lang.String requestMsgId
          The JMS message id. of the request needed for the reply
private static long serialVersionUID
          define serialVersionUID for interoperability
 
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
 
Constructor Summary
ClusterAck(boolean ok, java.lang.String info, AgentId replyTo, java.lang.String requestMsgId, java.lang.String replyMsgId)
          Constructs a ClusterAck instance.
 
Method Summary
 java.lang.String getReplyMsgId()
          Returns the generated JMS message id. for the reply.
 AgentId getReplyTo()
          Returns the JMS destination to send the reply.
 java.lang.String getRequestMsgId()
          Returns the JMS message id. of the request needed for the reply.
 
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

ok

boolean ok
true if the topic can join the cluster.


info

java.lang.String info
Info.


replyTo

private AgentId replyTo
The JMS destination to send the reply


requestMsgId

private java.lang.String requestMsgId
The JMS message id. of the request needed for the reply


replyMsgId

private java.lang.String replyMsgId
The generated JMS message id. for the reply

Constructor Detail

ClusterAck

ClusterAck(boolean ok,
           java.lang.String info,
           AgentId replyTo,
           java.lang.String requestMsgId,
           java.lang.String replyMsgId)
Constructs a ClusterAck instance.

Parameters:
ok - true if the topic can join the cluster.
info - Related info.
replyTo - The JMS destination to send the reply.
requestMsgId - The JMS message id. of the request needed for the reply.
replyMsgId - The generated JMS message id. for the reply.
Method Detail

getReplyTo

public AgentId getReplyTo()
Returns the JMS destination to send the reply.

Returns:
The JMS destination to send the reply.

getRequestMsgId

public java.lang.String getRequestMsgId()
Returns the JMS message id. of the request needed for the reply.

Returns:
The JMS message id. of the request needed for the reply.

getReplyMsgId

public java.lang.String getReplyMsgId()
Returns the generated JMS message id. for the reply.

Returns:
The generated JMS message id. for the reply.


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