com.scalagent.joram.mom.dest.ftp
Class FtpQueue

java.lang.Object
  extended by fr.dyade.aaa.agent.Agent
      extended by org.objectweb.joram.mom.dest.Destination
          extended by org.objectweb.joram.mom.dest.Queue
              extended by com.scalagent.joram.mom.dest.ftp.FtpQueue
All Implemented Interfaces:
AgentMBean, BagSerializer, java.io.Serializable, AdminDestinationItf

public class FtpQueue
extends Queue

A FtpQueue agent is an agent hosting a MOM queue, and which behaviour is provided by a FtpQueueImpl instance.

See Also:
FtpQueueImpl, Serialized Form

Field Summary
static org.objectweb.util.monolog.api.Logger logger
           
private static long serialVersionUID
          define serialVersionUID for interoperability
 
Fields inherited from class org.objectweb.joram.mom.dest.Destination
destImpl, task
 
Fields inherited from class fr.dyade.aaa.agent.Agent
emptyString, fixed, logmon
 
Constructor Summary
FtpQueue()
          Empty constructor for newInstance().
 
Method Summary
 DestinationImpl createsImpl(AgentId adminId, java.util.Properties prop)
          Creates the FtpQueueImpl.
 void react(AgentId from, Notification not)
          Distributes the received notifications to the appropriate reactions.
 
Methods inherited from class org.objectweb.joram.mom.dest.Queue
getType, readBag, writeBag
 
Methods inherited from class org.objectweb.joram.mom.dest.Destination
agentFinalize, agentInitialize, getMBeanName, init, setFreeReading, setFreeWriting, setNoSave, setSave
 
Methods inherited from class fr.dyade.aaa.agent.Agent
delete, delete, delete, deploy, deploy, getAgentId, getCommitTime, getId, getLogTopic, getName, getReactNb, getReactTime, 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
define serialVersionUID for interoperability

See Also:
Constant Field Values

logger

public static org.objectweb.util.monolog.api.Logger logger
Constructor Detail

FtpQueue

public FtpQueue()
Empty constructor for newInstance().

Method Detail

createsImpl

public DestinationImpl createsImpl(AgentId adminId,
                                   java.util.Properties prop)
Creates the FtpQueueImpl.

Overrides:
createsImpl in class Queue
Parameters:
adminId - Identifier of the queue administrator.
prop - The initial set of properties.

react

public void react(AgentId from,
                  Notification not)
           throws java.lang.Exception
Description copied from class: Queue
Distributes the received notifications to the appropriate reactions.

Overrides:
react in class Queue
Parameters:
from - agent sending notification
not - notification to react to
Throws:
java.lang.Exception - unspecialized exception


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.