Interface SessionCreator
-
- All Known Implementing Classes:
SessionCreatorImpl
public interface SessionCreatorDefines a creator for new sessions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SessionImplcreateSession(OpenKitComposite parent)Returns a newly createdSessionImpl.voidreset()Resets the internal state of this session creator.
-
-
-
Method Detail
-
createSession
SessionImpl createSession(OpenKitComposite parent)
Returns a newly createdSessionImpl.- Parameters:
parent- the parent composite of the session to create.
-
reset
void reset()
Resets the internal state of this session creator. A reset includes the following:- resetting the consecutive sequence session number which is increased every time a session is created.
- use a new session ID (which will stay the same for all newly created sessions)
- use a new randomized number (which will stay the same for all newly created sessions)
-
-