proai.service
Interface Session

All Known Implementing Classes:
CacheSession, SnapshotSession

public interface Session


Method Summary
 void clean()
          Do all possible cleanup for this session.
 ResponseData getResponseData(int partNum)
          Get the indicated response part (starting with zero).
 boolean hasExpired()
          Has the session expired?
 

Method Detail

hasExpired

boolean hasExpired()
Has the session expired?


clean

void clean()
Do all possible cleanup for this session.


getResponseData

ResponseData getResponseData(int partNum)
                             throws ServerException,
                                    BadResumptionTokenException
Get the indicated response part (starting with zero).

Throws:
ServerException
BadResumptionTokenException