public class FTPSMessenger extends FTPSConnector
ACTION_CWD, ACTION_DEL, ACTION_GET, ACTION_LIST, ACTION_MKD, ACTION_PUT, ACTION_PWD, ACTION_RMD, ACTION_SIZE, ACTION_TIME, FTP_ALL, FTP_DIRECTORY, FTP_FILE, FTP_LINK, FTP_UNKNOWN, uri
Constructor and Description |
---|
FTPSMessenger(java.util.Map props)
Creates new FTPSMessenger
|
Modifier and Type | Method and Description |
---|---|
void |
copy(XQueue xq)
It gets a JMS Message from the XQueue and retrieves the property map in
JSON content from its body.
|
void |
download(XQueue xq)
It gets a JMS message from xq that contains a filename to be downloaded
and downloads the file via ftps.
|
java.lang.String |
getOperation() |
void |
list(XQueue xq)
It gets a JMS message from xq that contains a dirname for listing files
in it and gets the list via ftps.
|
void |
pickup(XQueue xq)
It gets a JMS message from the uplink as the file transfer request that
is either an init request for the file transfer or a query request for
the progress of the file transfer.
|
void |
retrieve(XQueue xq)
retrieve a file from ftps server and put it to an XQ
|
void |
store(XQueue xq)
It gets a JMS Message from the XQueue and stores its body into a remote
file via ftps continuously.
|
void |
upload(XQueue xq)
It gets a JMS message from the uplink as the file transfer request that
is either an init request for the file transfer or a query request for
the progress of the file transfer.
|
close, completePendingCommand, connect, createDirectory, ftpsCwd, ftpsDelete, ftpsGet, ftpsGet, ftpsGet, ftpsList, ftpsMkd, ftpsNoOp, ftpsPut, ftpsPut, ftpsPut, ftpsPwd, ftpsRmd, getFTPSClient, getParent, getReplyCode, getReplyString, getSize, getTimestamp, getURI, isConnected, main, reconnect, retrieveFileStream, storeFileStream
public FTPSMessenger(java.util.Map props) throws java.io.IOException
java.io.IOException
public void retrieve(XQueue xq) throws java.io.IOException, javax.jms.JMSException
java.io.IOException
javax.jms.JMSException
public void download(XQueue xq) throws java.io.IOException, TimeoutException, javax.jms.JMSException
java.io.IOException
TimeoutException
javax.jms.JMSException
public void upload(XQueue xq) throws java.io.IOException, TimeoutException, javax.jms.JMSException
java.io.IOException
TimeoutException
javax.jms.JMSException
public void pickup(XQueue xq) throws java.io.IOException, TimeoutException, javax.jms.JMSException
java.io.IOException
TimeoutException
javax.jms.JMSException
public void list(XQueue xq) throws java.io.IOException, TimeoutException, javax.jms.JMSException
java.io.IOException
TimeoutException
javax.jms.JMSException
public void store(XQueue xq) throws java.io.IOException, TimeoutException, javax.jms.JMSException
java.io.IOException
TimeoutException
javax.jms.JMSException
public void copy(XQueue xq) throws java.io.IOException, TimeoutException, javax.jms.JMSException
java.io.IOException
TimeoutException
javax.jms.JMSException
public java.lang.String getOperation()