Sun Adapter for Batch/FTP

com.stc.connector.batchadapter.appconn.scp
Class SCP

java.lang.Object
  extended by com.stc.connector.batchadapter.appconn.scp.SCP
All Implemented Interfaces:
SSHInterface

public class SCP
extends java.lang.Object
implements SSHInterface

Interface class for SCP (over SSH) external system (exposed to user collaboration);


Constructor Summary
SCP()
          constructor
SCP(com.stc.connector.appconn.common.ApplicationConnectionFactory acf, java.lang.String collabOID, java.lang.String connName, java.lang.String etdClassName)
           
SCP(com.stc.connector.framework.util.ConfigurationHelper p, java.util.Map aParams)
          constructor
 
Method Summary
 com.stc.connector.appconn.common.ApplicationConnection getApplication()
           
 SCPClient getClient()
          get a SCP client instance associated with the OTD;
 SCPConfiguration getConfiguration()
          get SCPConfiguration instance for the OTD;
 void reset()
          life cycle method, delegate to client method reset();
 void setConfiguration(SCPConfiguration c)
          set the configuration for the OTD;
 void terminate()
          life cycle method, delegate to client method terminate();
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCP

public SCP()
constructor


SCP

public SCP(com.stc.connector.appconn.common.ApplicationConnectionFactory acf,
           java.lang.String collabOID,
           java.lang.String connName,
           java.lang.String etdClassName)

SCP

public SCP(com.stc.connector.framework.util.ConfigurationHelper p,
           java.util.Map aParams)
    throws java.lang.Exception
constructor

Parameters:
p - - configuration parameters;
Throws:
java.lang.Exception
Method Detail

getClient

public SCPClient getClient()
get a SCP client instance associated with the OTD;

Returns:

getConfiguration

public SCPConfiguration getConfiguration()
get SCPConfiguration instance for the OTD;

Returns:

setConfiguration

public void setConfiguration(SCPConfiguration c)
set the configuration for the OTD;

Parameters:
c -

reset

public void reset()
           throws java.lang.Exception
life cycle method, delegate to client method reset();

Specified by:
reset in interface SSHInterface
Throws:
java.lang.Exception

terminate

public void terminate()
               throws java.lang.Exception
life cycle method, delegate to client method terminate();

Specified by:
terminate in interface SSHInterface
Throws:
java.lang.Exception

getApplication

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

Sun Adapter for Batch/FTP