public class SessionConfirmation extends GenericService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
SessionConfirmation()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
long |
getSessionConfirmationNumber()
Returns the session confirmation number
|
boolean |
isEnforceReadOnce()
If set to true, only allow the session confirmation number to be read once per session, throwing
an IllegalStateException on subsequent reads.
|
boolean |
isRead()
Initially set to false, this property reflects whether or not the session confirmation number has already been
read for the current session.
|
void |
setEnforceReadOnce(boolean pEnforceReadOnce) |
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic boolean isEnforceReadOnce()
public void setEnforceReadOnce(boolean pEnforceReadOnce)
pEnforceReadOnce - the value of enforceReadOncepublic boolean isRead()
public long getSessionConfirmationNumber()
java.lang.IllegalStateException - if the session confirmation number has already been read for the current session