com.sas.hls.client
Interface Session


public interface Session

Interface that stores the state of the connection to the server. It is also where the ServiceManager can be found. A session is created and initialized by calling SessionFactory.newSession(URL,String, String).


Method Summary
 ServiceManager getServiceManager()
          Get the single service manager for this session.
 void invalidate()
          Invalidate the session and free any server-side resources being held.
 boolean isValid()
          Check whether this is session is still valid.
 

Method Detail

isValid

boolean isValid()
Check whether this is session is still valid. A session can become invalid by either timing out or a call to invalidate().

Returns:
whether this session is still valid.

invalidate

void invalidate()
Invalidate the session and free any server-side resources being held.


getServiceManager

ServiceManager getServiceManager()
Get the single service manager for this session. The service manager is the access point for all services provided by the API.

Returns:
the single service manager for this session.


Copyright (c) 2013, SAS Institute Inc., Cary, NC, USA