org.objectweb.joram.mom.dest

Class Topic

Implemented Interfaces:
AdminDestinationItf, AgentMBean, Serializable
Known Direct Subclasses:
AdminTopic, BridgeTopic

public class Topic
extends Destination

A Topic agent is an agent hosting a MOM topic, and which behaviour is provided by a TopicImpl instance.

See Also:
TopicImpl

Field Summary

Fields inherited from class org.objectweb.joram.mom.dest.Destination

destImpl

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

fixed, logmon, name

Constructor Summary

Topic()
Empty constructor for newInstance().
Topic(String name, boolean fixed, int stamp)
Constructor with parameters for fixing the topic and specifying its identifier.
Topic(boolean fixed)
Constructor with parameters for fixing the topic.
Topic(AgentId adminId)
Constructs a Topic agent.

Method Summary

DestinationImpl
createsImpl(AgentId adminId)
Creates the TopicImpl.

Methods inherited from class org.objectweb.joram.mom.dest.Destination

agentInitialize, createsImpl, init, react, setProperties

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

agentFinalize, agentInitialize, delete, delete, deploy, deploy, getId, getLogTopic, getName, isDeployed, isFixed, needToBeCommited, react, save, sendTo, sendTo, sendTo, setNoSave, toString

Constructor Details

Topic

public Topic()
Empty constructor for newInstance().


Topic

protected Topic(String name,
                boolean fixed,
                int stamp)
Constructor with parameters for fixing the topic and specifying its identifier.


Topic

protected Topic(boolean fixed)
Constructor with parameters for fixing the topic.


Topic

public Topic(AgentId adminId)
Constructs a Topic agent.

Parameters:
adminId - Identifier of the agent which will be the administrator of the topic.

Method Details

createsImpl

public DestinationImpl createsImpl(AgentId adminId)
Creates the TopicImpl.
Overrides:
createsImpl in interface Destination

Parameters:
adminId - Identifier of the topic administrator.


Copyright B) 2004 Scalagent - All rights reserved