Sun Adapter for Batch/FTP

com.stc.connector.batchadapter.webservice
Class SCPWebService

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

public class SCPWebService
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
SCPWebService(com.stc.connector.appconn.common.ApplicationConnectionFactory acf, java.lang.String collabOID, java.lang.String connName, java.lang.String etdClassName)
          constructor for "manual mode" handling
SCPWebService(java.lang.Object app)
          Creates a new instance of SCPWebService
 
Method Summary
 PayloadMessage get(SCPGetMessage fgmIn)
          Gets a file to the PayloadMessage.
 com.stc.connector.appconn.common.ApplicationConnection getAC()
           
 EmptyMessage put(SCPPutMessage fpmIn)
          Puts a payload to a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCPWebService

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

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

SCPWebService

public SCPWebService(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(SCPGetMessage fgmIn)
                   throws java.lang.Exception
Gets a file to the PayloadMessage.

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

put

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

Parameters:
fpmIn - The SCPPutMessage.
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