CASL API for sessions
Inheritance:
Public Methods
-
virtual SessionContextWrapper createSession(const char* username, time_t nSecondsToExpire=0) = 0
- create Session
-
virtual SessionContextWrapper getSessionContext(SessionIdType id, const char* username) = 0
- get SessionContext by id.
-
virtual void releaseSession(SessionContextWrapper sessionContext) = 0
- end session
-
bool requireThread()
Public Members
-
struct InvalidSessionId: public CASL::Exception
-
-
struct SessionExpired: public CASL::Exception
-
-
struct TooManySessions: public CASL::Exception
-
-
struct UsernameMismatch: public CASL::Exception
-
Inherited from Service:
Public Methods
-
virtual void close()
-
std::ostream& debugs()
-
virtual ValueProxy doCommand(const char* command, Value* optParams)
-
std::ostream& errors()
-
std::ostream& fatals()
-
GradSoft::Logger& getLogger()
-
virtual ValueProxy getProperty(const char* name)
-
GradSoft::Thread::id_type getThreadId()
-
std::ostream& infos()
-
virtual void init(ServerContext*)
-
virtual const char* name() const
-
virtual void run()
-
virtual void setProperty(const char* name, const char* value)
-
void waitRun()
-
std::ostream& warnings()
Protected Methods
-
NamedValues& getProperties()
Documentation
CASL API for sessions
struct SessionExpired: public CASL::Exception
-
struct InvalidSessionId: public CASL::Exception
-
struct TooManySessions: public CASL::Exception
-
struct UsernameMismatch: public CASL::Exception
-
virtual SessionContextWrapper createSession(const char* username, time_t nSecondsToExpire=0) = 0
-
create Session
virtual SessionContextWrapper getSessionContext(SessionIdType id, const char* username) = 0
-
get SessionContext by id.
throw SessionExpiredException or InvalidSessionId
virtual void releaseSession(SessionContextWrapper sessionContext) = 0
-
end session
bool requireThread()
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.