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 classSessionOverview -
Uses of ISession in com.smartfoxserver.v2.api
Methods in com.smartfoxserver.v2.api with parameters of type ISession Modifier and Type Method Description booleanISFSApi. checkSecurePassword(ISession session, java.lang.String originalPass, java.lang.String encryptedPass)Check an encrypted password sent by the User at login time.booleanSFSApi. checkSecurePassword(ISession session, java.lang.String originalPass, java.lang.String encryptedPass)Check an encrypted password sent by the User at login time.voidISFSApi. disconnect(ISession session)Disconnect a Session abruptly.voidSFSApi. disconnect(ISession session)Removes a Session and the User connected with that session, if one existsUserISFSApi. getUserBySession(ISession session)Finds a User from its SessionUserSFSApi. getUserBySession(ISession session)Finds a User from its SessionUserISFSApi. 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 UserUserISFSApi. 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 usernameUserSFSApi. 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 UserUserSFSApi. 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 voidISFSApi. sendAdminMessage(User sender, java.lang.String message, ISFSObject params, java.util.Collection<ISession> recipients)Sends a administrator message to a number of Users.voidSFSApi. sendAdminMessage(User sender, java.lang.String message, ISFSObject params, java.util.Collection<ISession> recipients)Sends a administrator message to a number of Users.voidISFSApi. sendGenericMessage(com.smartfoxserver.v2.api.GenericMessageType type, User sender, int targetRoomId, java.lang.String message, ISFSObject params, java.util.Collection<ISession> recipients)voidSFSApi. sendGenericMessage(com.smartfoxserver.v2.api.GenericMessageType type, User sender, int targetRoomId, java.lang.String message, ISFSObject params, java.util.Collection<ISession> recipients)voidISFSApi. sendModeratorMessage(User sender, java.lang.String message, ISFSObject params, java.util.Collection<ISession> recipients)Sends a moderator message to a number of Users.voidSFSApi. 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 ISessionLoginData. sessionThe 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 voidLogin. resolveIpAddress(ISession session)protected voidLogin. validateEncryptionStatus(ISession sender, com.smartfoxserver.bitswarm.io.IRequest request, Zone zone)protected voidLogin. 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 ISessionLoginData. sessionMethods in com.smartfoxserver.v2.entities that return ISession Modifier and Type Method Description ISessionSFSUser. getSession()ISessionUser. 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 UserRoom. getUserBySession(ISession session)UserSFSRoom. getUserBySession(ISession session)UserSFSZone. getUserBySession(ISession session)Get a User from its Session objectUserZone. getUserBySession(ISession session)Get a User from its Session objectvoidSFSZone. removeUser(ISession session)INTERNALvoidZone. 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.StringCryptoUtils. getClientPassword(ISession session, java.lang.String clearPass)static java.lang.StringCryptoUtils. getUniqueSessionToken(ISession session)
-