|
Joram 5.3.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.agent.Agent
org.objectweb.joram.mom.dest.Destination
org.objectweb.joram.mom.dest.Topic
public class Topic
A Topic
agent is an agent hosting a MOM topic, and which
behaviour is provided by a TopicImpl
instance.
TopicImpl
,
Serialized FormField Summary |
---|
Fields inherited from class org.objectweb.joram.mom.dest.Destination |
---|
destImpl, logger, task |
Fields inherited from class fr.dyade.aaa.agent.Agent |
---|
emptyString, fixed, logmon |
Constructor Summary | |
---|---|
|
Topic()
Empty constructor for newInstance(). |
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(fr.dyade.aaa.agent.AgentId adminId,
java.util.Properties prop)
Creates the TopicImpl. |
byte |
getType()
Returns the type of this destination: Queue or Topic. |
void |
react(fr.dyade.aaa.agent.AgentId from,
fr.dyade.aaa.agent.Notification not)
Distributes the received notifications to the appropriate reactions. |
Methods inherited from class org.objectweb.joram.mom.dest.Destination |
---|
agentFinalize, agentInitialize, getMBeanName, init, setNoSave, setPeriod, setSave |
Methods inherited from class fr.dyade.aaa.agent.Agent |
---|
delete, delete, delete, deploy, deploy, getAgentId, getId, getLogTopic, getName, isDeployed, isFixed, needToBeCommited, save, sendTo, sendTo, sendTo, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Topic()
protected Topic(java.lang.String name, boolean fixed, int stamp)
Method Detail |
---|
public final byte getType()
Destination
getType
in class Destination
DestinationConstants.TOPIC_TYPE
,
DestinationConstants.QUEUE_TYPE
public DestinationImpl createsImpl(fr.dyade.aaa.agent.AgentId adminId, java.util.Properties prop)
createsImpl
in class Destination
adminId
- Identifier of the topic administrator.prop
- The initial set of properties.public void react(fr.dyade.aaa.agent.AgentId from, fr.dyade.aaa.agent.Notification not) throws java.lang.Exception
react
in class Destination
java.lang.Exception
|
Joram 5.3.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |