com.sap.sdm.api.remote
Interface Client


public interface Client

An entry point to the functional methods provided by SDM for a remote client.

Version:
1.0

Method Summary
 int getAPIServerVersion()
          Returns the version information for the SDM Server this Client is connected to.
 URLMimic getClientLog()
          Deprecated.  
 DeployProcessor getDeployProcessor()
          Returns a DeployProcessor.
 HelperFactory getHelperFactory()
          Returns a HelperFactory.
 ClientLog getLog()
          Returns the ClientLog.
 SDMConfig getSDMConfiguration()
          Returns an SDMConfig.
 UnDeployProcessor getUnDeployProcessor()
          Returns a UnDeployProcessor.
 

Method Detail

getAPIServerVersion

public int getAPIServerVersion()
                        throws RemoteException
Returns the version information for the SDM Server this Client is connected to. You should compare this version number with the one returned by ClientSessionFactory.getAPIClientVersion() to check whether the server is of the same version as the client.
Returns:
an int containing the version number

getSDMConfiguration

public SDMConfig getSDMConfiguration()
                              throws RemoteException
Returns an SDMConfig.
Returns:
an SDMConfig

getDeployProcessor

public DeployProcessor getDeployProcessor()
                                   throws RemoteException
Returns a DeployProcessor.
Returns:
a DeployProcessor

getUnDeployProcessor

public UnDeployProcessor getUnDeployProcessor()
                                       throws RemoteException
Returns a UnDeployProcessor. This method is new with API client version 4.
Returns:
a UnDeployProcessor

getHelperFactory

public HelperFactory getHelperFactory()
                               throws RemoteException
Returns a HelperFactory.
Returns:
a HelperFactory

getClientLog

public URLMimic getClientLog()
                      throws RemoteException
Deprecated.  

Returns the part of the SDM log which belongs to this client. This method is deprecated. It was replaced by ClientLog.getAsURL()
Returns:
a URLMimic

getLog

public ClientLog getLog()
                 throws RemoteException
Returns the ClientLog.
Returns:
a ClientLog