Uses of Interface
com.smartfoxserver.bitswarm.sessions.ISession
-
-
Uses of ISession in com.smartfoxserver.bitswarm.sessions
Classes in com.smartfoxserver.bitswarm.sessions that implement ISession Modifier and Type Class Description class
Session
Overview -
Uses of ISession in com.smartfoxserver.v2.api
Methods in com.smartfoxserver.v2.api with parameters of type ISession Modifier and Type Method Description boolean
ISFSApi. checkSecurePassword(ISession session, java.lang.String originalPass, java.lang.String encryptedPass)
Check an encrypted password sent by the User at login time.boolean
SFSApi. checkSecurePassword(ISession session, java.lang.String originalPass, java.lang.String encryptedPass)
Check an encrypted password sent by the User at login time.void
ISFSApi. disconnect(ISession session)
Disconnect a Session abruptly.void
SFSApi. disconnect(ISession session)
Removes a Session and the User connected with that session, if one existsUser
ISFSApi. getUserBySession(ISession session)
Finds a User from its SessionUser
SFSApi. getUserBySession(ISession session)
Finds a User from its SessionUser
ISFSApi. login(ISession session, java.lang.String name, java.lang.String pass, java.lang.String zoneName, ISFSObject params)
Logs a client into a Zone, allowing it to become a UserUser
ISFSApi. login(ISession session, java.lang.String name, java.lang.String pass, java.lang.String zoneName, ISFSObject params, boolean forceLogout)
Uses additional flag to disconnect previous user with same usernameUser
SFSApi. login(ISession sender, java.lang.String name, java.lang.String pass, java.lang.String zoneName, ISFSObject paramsOut)
Logs a client into a Zone, allowing it to become a UserUser
SFSApi. login(ISession sender, java.lang.String name, java.lang.String pass, java.lang.String zoneName, ISFSObject paramsOut, boolean forceLogout)
Uses additional flag to disconnect previous user with same usernameMethod parameters in com.smartfoxserver.v2.api with type arguments of type ISession Modifier and Type Method Description void
ISFSApi. sendAdminMessage(User sender, java.lang.String message, ISFSObject params, java.util.Collection<ISession> recipients)
Sends a administrator message to a number of Users.void
SFSApi. sendAdminMessage(User sender, java.lang.String message, ISFSObject params, java.util.Collection<ISession> recipients)
Sends a administrator message to a number of Users.void
ISFSApi. sendGenericMessage(com.smartfoxserver.v2.api.GenericMessageType type, User sender, int targetRoomId, java.lang.String message, ISFSObject params, java.util.Collection<ISession> recipients)
void
SFSApi. sendGenericMessage(com.smartfoxserver.v2.api.GenericMessageType type, User sender, int targetRoomId, java.lang.String message, ISFSObject params, java.util.Collection<ISession> recipients)
void
ISFSApi. sendModeratorMessage(User sender, java.lang.String message, ISFSObject params, java.util.Collection<ISession> recipients)
Sends a moderator message to a number of Users.void
SFSApi. sendModeratorMessage(User sender, java.lang.String message, ISFSObject params, java.util.Collection<ISession> recipients)
Sends a moderator message to a number of Users. -
Uses of ISession in com.smartfoxserver.v2.buddylist
Methods in com.smartfoxserver.v2.buddylist that return types with arguments of type ISession Modifier and Type Method Description java.util.List<ISession>
BuddyListManager. getClientsWatchingBuddy(java.lang.String buddyName)
java.util.List<ISession>
BuddyListManager. getClientsWatchingBuddy(java.lang.String buddyName, boolean onlineUsersOnly)
java.util.List<ISession>
SFSBuddyListManager. getClientsWatchingBuddy(java.lang.String buddyName)
java.util.List<ISession>
SFSBuddyListManager. getClientsWatchingBuddy(java.lang.String buddyName, boolean onlineUsersOnly)
-
Uses of ISession in com.smartfoxserver.v2.components.login
Fields in com.smartfoxserver.v2.components.login declared as ISession Modifier and Type Field Description ISession
LoginData. session
The client's session -
Uses of ISession in com.smartfoxserver.v2.controllers.system
Methods in com.smartfoxserver.v2.controllers.system with parameters of type ISession Modifier and Type Method Description protected void
Login. resolveIpAddress(ISession session)
protected void
Login. validateEncryptionStatus(ISession sender, com.smartfoxserver.bitswarm.io.IRequest request, Zone zone)
protected void
Login. validateLoginErrors(ISession session, Zone zone)
-
Uses of ISession in com.smartfoxserver.v2.entities
Fields in com.smartfoxserver.v2.entities declared as ISession Modifier and Type Field Description ISession
LoginData. session
Methods in com.smartfoxserver.v2.entities that return ISession Modifier and Type Method Description ISession
SFSUser. getSession()
ISession
User. getSession()
Get the session object linked to this UserMethods in com.smartfoxserver.v2.entities that return types with arguments of type ISession Modifier and Type Method Description java.util.List<ISession>
Room. getSessionList()
Get all the User Sessions in the Roomjava.util.List<ISession>
SFSRoom. getSessionList()
Get all the User Sessions in the Roomjava.util.Collection<ISession>
SFSZone. getSessionList()
Get the list of Sessions logged in the Zonejava.util.Collection<ISession>
Zone. getSessionList()
Get the list of Sessions logged in the Zonejava.util.Collection<ISession>
SFSZone. getSessionsInGroup(java.lang.String groupId)
Get a list of Sessions from all Rooms in the provided Room Groupjava.util.Collection<ISession>
Zone. getSessionsInGroup(java.lang.String groupId)
Get a list of Sessions from all Rooms in the provided Room Groupjava.util.Collection<ISession>
SFSZone. getSessionsListeningToGroup(java.lang.String groupId)
java.util.Collection<ISession>
Zone. getSessionsListeningToGroup(java.lang.String groupId)
Get a list of Sessions listening for events in a specific GroupMethods in com.smartfoxserver.v2.entities with parameters of type ISession Modifier and Type Method Description User
Room. getUserBySession(ISession session)
User
SFSRoom. getUserBySession(ISession session)
User
SFSZone. getUserBySession(ISession session)
Get a User from its Session objectUser
Zone. getUserBySession(ISession session)
Get a User from its Session objectvoid
SFSZone. removeUser(ISession session)
INTERNALvoid
Zone. removeUser(ISession session)
INTERNALConstructors in com.smartfoxserver.v2.entities with parameters of type ISession Constructor Description LoginData(ISession session, java.lang.String userName)
LoginData(ISession session, java.lang.String userName, java.lang.String password)
LoginData(ISession session, java.lang.String userName, java.lang.String password, ISFSObject paramsOut, boolean forceLogout)
SFSUser(ISession session)
SFSUser(java.lang.String name, ISession session)
-
Uses of ISession in com.smartfoxserver.v2.util
Methods in com.smartfoxserver.v2.util with parameters of type ISession Modifier and Type Method Description static java.lang.String
CryptoUtils. getClientPassword(ISession session, java.lang.String clearPass)
static java.lang.String
CryptoUtils. getUniqueSessionToken(ISession session)
-