Sun Adapter for Batch/FTP

com.stc.connector.batchadapter.webservice
Class FTPSWebService

java.lang.Object
  extended by com.stc.connector.batchadapter.webservice.FTPSWebService

public class FTPSWebService
extends java.lang.Object

jim.fu@sun.com TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates


Constructor Summary
FTPSWebService(com.stc.connector.appconn.common.ApplicationConnectionFactory acf, java.lang.String collabOID, java.lang.String connName, java.lang.String etdClassName)
          constructor for "manual mode" handling;
FTPSWebService(java.lang.Object app)
          Creates a new instance of FTPSWebService
 
Method Summary
 PayloadMessage get(FTPSGetMessage fgmIn)
          Gets a file to the PayloadMessage.
 PayloadMessage GET(FTPSGetMessage fgmIn)
          Gets a file to the PayloadMessage - - will apply Pre and Post operations if there is any.
 com.stc.connector.appconn.common.ApplicationConnection getAC()
           
 EmptyMessage put(FTPSPutMessage fpmIn)
          Puts a payload to a file.
 EmptyMessage PUT(FTPSPutMessage fpmIn)
          Puts a payload to a file - will apply Pre and Post operations if there is any.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FTPSWebService

public FTPSWebService(java.lang.Object app)
Creates a new instance of FTPSWebService

Parameters:
app - The application associated with this web service.

FTPSWebService

public FTPSWebService(com.stc.connector.appconn.common.ApplicationConnectionFactory acf,
                      java.lang.String collabOID,
                      java.lang.String connName,
                      java.lang.String etdClassName)
constructor for "manual mode" handling;

Parameters:
acf -
collabOID -
connName -
etdClassName -
Method Detail

get

public PayloadMessage get(FTPSGetMessage fgmIn)
                   throws java.lang.Exception
Gets a file to the PayloadMessage.

Parameters:
fgmIn - An FTPOverSSLGetMessage.
Returns:
The PayloadMessage.
Throws:
The - exception thrown by the operation.
java.lang.Exception

put

public EmptyMessage put(FTPSPutMessage fpmIn)
                 throws java.lang.Exception
Puts a payload to a file.

Parameters:
fpmIn - The FTPOverSSLPutMessage.
Returns:
A dummy message to handle eInsight
Throws:
The - exception thrown by the operation.
java.lang.Exception

GET

public PayloadMessage GET(FTPSGetMessage fgmIn)
                   throws java.lang.Exception
Gets a file to the PayloadMessage - - will apply Pre and Post operations if there is any.

Parameters:
fgmIn - An FTPOverSSLGetMessage.
Returns:
The PayloadMessage.
Throws:
The - exception thrown by the operation.
java.lang.Exception

PUT

public EmptyMessage PUT(FTPSPutMessage fpmIn)
                 throws java.lang.Exception
Puts a payload to a file - will apply Pre and Post operations if there is any.

Parameters:
fpmIn - The FTPOverSSLPutMessage.
Returns:
A dummy message to handle eInsight
Throws:
The - exception thrown by the operation.
java.lang.Exception

getAC

public com.stc.connector.appconn.common.ApplicationConnection getAC()

Sun Adapter for Batch/FTP