Session(String, Server, SessionData, User) constructor

Construct a new session, and save each of the arguments so that they can be retrieved later via the getName(), getServer(), getSessionData(), and getUser() methods.

Syntax

protected Session ( String name , Server server , SessionData sessionData , User user )

Parameters