org.red5.server.api.session
public interface ISession extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
end()
Ends the session, no further modifications should be allowed.
|
String |
getClientId()
Returns the client id associated with this session.
|
long |
getCreated()
Returns creation time in milliseconds.
|
String |
getDestinationDirectory()
Returns the directory used to store session resources.
|
String |
getSessionId()
Returns the session's identifier.
|
boolean |
isActive()
Returns the active state of the session.
|
void |
reset()
Resets a specified set of internal parameters.
|
void |
setClientId(String clientId)
Sets the associated client id.
|
void |
setDestinationDirectory(String destinationDirectory)
Sets where session resources will be located if persisted to disk.
|
long getCreated()
String getSessionId()
void reset()
boolean isActive()
void end()
void setClientId(String clientId)
clientId
- client idString getClientId()
void setDestinationDirectory(String destinationDirectory)
destinationDirectory
- destination directoryString getDestinationDirectory()
Copyright © 2006-2012 The Red5 Project