org.neociclo.odetteftp.support
Class InOutSharedQueueOftpletFactory
java.lang.Object
org.neociclo.odetteftp.support.InOutSharedQueueOftpletFactory
- All Implemented Interfaces:
- OftpletFactory
public class InOutSharedQueueOftpletFactory
- extends Object
- implements OftpletFactory
- Version:
- $Rev: 818 $ $Date: 2010-10-20 22:18:00 -0200 (Wed, 20 Oct 2010) $
- Author:
- Rafael Marins
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InOutSharedQueueOftpletFactory
public InOutSharedQueueOftpletFactory(OdetteFtpConfiguration config,
MappedCallbackHandler callbackHandler,
Queue<OdetteFtpObject> outgoing,
Queue<OdetteFtpObject> outgoingDone,
Queue<OdetteFtpObject> incoming)
- Constructor for this shared queue Oftplet factory implementation,
supporting incoming and outgoing operations. File receiving depends on
the InOutEventListener to be accepted (saved in local system).
If the incoming or outgoing constructor's arguments are not specified the
OftpletListener and OftpletSpeaker are respectively will not be provided
by the created Oftplet implementation.
- Parameters:
config
- outgoing
- queue of Odette FTP objects, Virtual File and Delivery
Notifications, for transmission.outgoingDone
- where outgoing Odette FTP objects are pulled to after the
protocol send is acknowledged from the outgoing queue. For
instance, when a file is completely transmitted with an EFPA
or when the EERP/NERP is sent and returned a RTR command.incoming
- where incoming Odette FTP objects, received Virtual Files and
Delivery Notifications, are kept.
createProvider
public Oftplet createProvider()
- Specified by:
createProvider
in interface OftpletFactory
setEventListener
public void setEventListener(OftpletEventListener eventListener)
getEventListener
public OftpletEventListener getEventListener()
ACCORD