org.objectweb.joram.mom.notifications

Class ClusterRequest

Implemented Interfaces:
Cloneable, Serializable

public class ClusterRequest
extends AdminRequest

A ClusterRequest instance is used by a client agent for notifying a topic of the identifier of an other topic to set a cluster with.

Field Summary

Fields inherited from class fr.dyade.aaa.agent.Notification

persistent

Constructor Summary

ClusterRequest(String id, AgentId topicId)
Constructs a ClusterRequest instance.

Method Summary

AgentId
getTopicId()
Returns the identifier of the topic the target topic must set a cluster with.

Methods inherited from class org.objectweb.joram.mom.notifications.AdminRequest

getId

Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification

getClientContext, toString

Methods inherited from class fr.dyade.aaa.agent.Notification

clone, getContext, setContext, toString

Constructor Details

ClusterRequest

public ClusterRequest(String id,
                      AgentId topicId)
Constructs a ClusterRequest instance.

Parameters:
id - Identifier of the request, may be null.
topicId - The identifier of the topic the target topic must set a cluster with.

Method Details

getTopicId

public AgentId getTopicId()
Returns the identifier of the topic the target topic must set a cluster with.


Copyright B) 2004 Scalagent - All rights reserved