org.objectweb.joram.mom.dest
Class Topic

java.lang.Object
  extended byfr.dyade.aaa.agent.Agent
      extended byorg.objectweb.joram.mom.dest.Destination
          extended byorg.objectweb.joram.mom.dest.Topic
All Implemented Interfaces:
AdminDestinationItf, AgentMBean, java.io.Serializable
Direct Known 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, Serialized Form

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(AgentId adminId)
          Constructs a Topic agent.
protected Topic(boolean fixed)
          Constructor with parameters for fixing the topic.
protected Topic(java.lang.String name, boolean fixed, int stamp)
          Constructor with parameters for fixing the topic and specifying its identifier.
 
Method Summary
 DestinationImpl createsImpl(AgentId adminId)
          Creates the TopicImpl.
 
Methods inherited from class org.objectweb.joram.mom.dest.Destination
agentInitialize, init, react, setProperties
 
Methods inherited from class fr.dyade.aaa.agent.Agent
agentFinalize, delete, delete, deploy, deploy, getId, getLogTopic, getName, isDeployed, isFixed, needToBeCommited, save, sendTo, sendTo, sendTo, setNoSave, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Topic

public Topic()
Empty constructor for newInstance().


Topic

public Topic(AgentId adminId)
Constructs a Topic agent.

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

Topic

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


Topic

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

Method Detail

createsImpl

public DestinationImpl createsImpl(AgentId adminId)
Creates the TopicImpl.

Specified by:
createsImpl in class Destination
Parameters:
adminId - Identifier of the topic administrator.


Copyright ? 2004 Scalagent - All rights reserved