ecologylab.services.distributed.legacy
Class SessionId

java.lang.Object
  extended by ecologylab.generic.Debug
      extended by ecologylab.services.distributed.legacy.SessionId

public class SessionId
extends Debug

User study subject session number, and directory management.


Field Summary
protected static java.lang.String FILE_SEPARATOR
           
static int NO_SESSION_ID
           
protected static java.lang.String SESSION_SEPARATOR
           
protected static java.lang.String sessionFileDir
           
protected static java.lang.String sessionFileName
           
protected static java.lang.String sessionIdString
           
static int UNINITIALIZED
           
 
Constructor Summary
SessionId()
           
 
Method Summary
static int get()
           
static java.io.File getLogFile(java.lang.String fileName)
           
static java.io.File getLogFileDir()
           
static java.lang.String getLogFilePath()
           
static java.lang.String getStudyPath()
           
static int increment()
           
static boolean logFileExists(java.lang.String fileName)
           
 
Methods inherited from class ecologylab.generic.Debug
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNINITIALIZED

public static final int UNINITIALIZED
See Also:
Constant Field Values

NO_SESSION_ID

public static final int NO_SESSION_ID
See Also:
Constant Field Values

sessionFileName

protected static java.lang.String sessionFileName

sessionFileDir

protected static java.lang.String sessionFileDir

FILE_SEPARATOR

protected static java.lang.String FILE_SEPARATOR

SESSION_SEPARATOR

protected static java.lang.String SESSION_SEPARATOR

sessionIdString

protected static java.lang.String sessionIdString
Constructor Detail

SessionId

public SessionId()
Method Detail

increment

public static int increment()

get

public static int get()

getStudyPath

public static java.lang.String getStudyPath()

getLogFilePath

public static java.lang.String getLogFilePath()

getLogFileDir

public static java.io.File getLogFileDir()

getLogFile

public static java.io.File getLogFile(java.lang.String fileName)

logFileExists

public static boolean logFileExists(java.lang.String fileName)