Package org.red5.server.session
Class SessionManager
java.lang.Object
org.red5.server.session.SessionManager
Manages sessions.
- Author:
- The Red5 Project, Paul Gregoire (mondain@gmail.com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
createHash
(String str) createHash.static ISession
createSession.static ISession
createSession
(String sessionId) createSession.Getter for the fielddestinationDirectory
.static ISession
getSession
(String sessionId) getSession.static String
getSessionId.void
init()
init.static ISession
removeSession
(String sessionId) removeSession.void
setDestinationDirectory
(String destinationDir) Setter for the fielddestinationDirectory
.void
setMaxLifetime
(String maxLifetime) Setter for the fieldmaxLifetime
.void
setSchedulingService
(ISchedulingService schedulingService) Setter for the fieldschedulingService
.
-
Field Details
-
rnd
Constantrnd
-
-
Constructor Details
-
SessionManager
public SessionManager()
-
-
Method Details
-
init
public void init()init.
-
getSessionId
getSessionId.
- Returns:
- a
String
object
-
createSession
createSession.
- Returns:
- a
ISession
object
-
createSession
createSession.
-
getSession
getSession.
-
removeSession
removeSession.
-
getDestinationDirectory
Getter for the field
destinationDirectory
.- Returns:
- a
String
object
-
setDestinationDirectory
Setter for the field
destinationDirectory
.- Parameters:
destinationDir
- aString
object
-
setMaxLifetime
Setter for the field
maxLifetime
.- Parameters:
maxLifetime
- aString
object
-
setSchedulingService
Setter for the field
schedulingService
.- Parameters:
schedulingService
- aISchedulingService
object
-
createHash
createHash.
-