com.sap.sdm.api.remote
Interface ClientSession


public interface ClientSession

Represents a client session on an SDM server. A client session represents a logical connection to an SDM server that may last longer than a physical connection to a server.

Version:
1.0

Method Summary
 void closeSession()
          Closes this ClientSession.
 Client getClient()
          Returns a Client object that provides the functional methods for a client.
 void passivateSession()
          Passivates this ClientSession.
 

Method Detail

getClient

public Client getClient()
                 throws RemoteException
Returns a Client object that provides the functional methods for a client.
Returns:
a Client

passivateSession

public void passivateSession()
                      throws RemoteException
Passivates this ClientSession. Passivating a ClientSession means that the physical connection to the SDM server will be closed while the logical connection remains established. A passivated ClientSession need not be explicitely activated, instead it suffices to invoke any of the methods of Client.

closeSession

public void closeSession()
                  throws RemoteException
Closes this ClientSession. Closing a ClientSession means that both the physical and logical connection to the SDM server will be closed. Once a ClientSession has been closed, it becomes invalid.