|
|||||||||
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.Queue
public class Queue
A Queue
agent is an agent hosting a MOM queue, and which
behaviour is provided by a QueueImpl
instance.
QueueImpl
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
QUEUE_TYPE
|
Fields inherited from class org.objectweb.joram.mom.dest.Destination |
---|
destImpl |
Fields inherited from class fr.dyade.aaa.agent.Agent |
---|
fixed, logmon, name, nullName |
Constructor Summary | |
---|---|
protected |
Queue()
Empty constructor for newInstance(). |
|
Queue(AgentId adminId)
Constructs a Queue agent. |
protected |
Queue(boolean fixed)
Constructor with parameter for fixing the queue or not. |
Method Summary | |
---|---|
DestinationImpl |
createsImpl(AgentId adminId)
Creates the QueueImpl. |
static java.lang.String |
getDestinationType()
|
void |
readBag(java.io.ObjectInputStream in)
The readBag method is responsible for reading from the stream and restoring the agent's transient state. |
void |
writeBag(java.io.ObjectOutputStream out)
The writeBag method is responsible for writing the extra data of this particular agent so that the corresponding readBag method can restore it. |
Methods inherited from class org.objectweb.joram.mom.dest.Destination |
---|
agentFinalize, agentInitialize, init, react, setProperties |
Methods inherited from class fr.dyade.aaa.agent.Agent |
---|
delete, delete, deploy, deploy, getAgentId, getId, getLogTopic, getName, isDeployed, isFixed, needToBeCommited, save, sendTo, sendTo, sendTo, setName, setNoSave, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String QUEUE_TYPE
Constructor Detail |
---|
protected Queue()
public Queue(AgentId adminId)
Queue
agent.
adminId
- Identifier of the agent which will be the administrator
of the queue.protected Queue(boolean fixed)
Method Detail |
---|
public static java.lang.String getDestinationType()
public DestinationImpl createsImpl(AgentId adminId)
createsImpl
in class Destination
adminId
- Identifier of the queue administrator.public void readBag(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
BagSerializer
readBag
in interface BagSerializer
java.io.IOException
java.lang.ClassNotFoundException
public void writeBag(java.io.ObjectOutputStream out) throws java.io.IOException
BagSerializer
writeBag
in interface BagSerializer
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |