Uses of Interface
com.smartfoxserver.v2.entities.data.ISFSObject
-
-
Uses of ISFSObject in com.smartfoxserver.v2.api
Methods in com.smartfoxserver.v2.api with parameters of type ISFSObject Modifier and Type Method Description UserISFSApi. 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 usernamevoidISFSGameApi. replyToInvitation(User invitedUser, int invitationId, InvitationResponse reply, ISFSObject params, boolean fireClientEvent)Handle the Invitation reply of a UservoidSFSGameApi. replyToInvitation(User invitedUser, int invitationId, InvitationResponse reply, ISFSObject params, boolean fireClientEvent)Handle the Invitation reply of a UservoidISFSApi. 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. sendBuddyMessage(User sender, User recipient, java.lang.String message, ISFSObject params)voidISFSBuddyApi. sendBuddyMessage(User sender, User recipient, java.lang.String message, ISFSObject params)Send a Buddy Message to any Buddy in your list.voidSFSApi. sendBuddyMessage(User sender, User recipient, java.lang.String message, ISFSObject params)voidSFSBuddyApi. sendBuddyMessage(User sender, User recipient, java.lang.String message, ISFSObject params)Send a Buddy Message to any Buddy in your list.voidISFSApi. sendExtensionResponse(java.lang.String cmdName, ISFSObject params, User recipient, Room room, boolean useUDP)voidISFSApi. sendExtensionResponse(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients, Room room, boolean useUDP)voidSFSApi. sendExtensionResponse(java.lang.String cmdName, ISFSObject params, User recipient, Room room, boolean useUDP)voidSFSApi. sendExtensionResponse(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients, Room room, boolean useUDP)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)voidISFSGameApi. sendInvitation(User inviter, java.util.List<User> invitees, int expirySeconds, InvitationCallback callBackHandler, ISFSObject params)Send an Invitation to a User.
An Invitation can be sent for various purposes such as for joining a room/game, adding a friend to the Buddy List etc...voidSFSGameApi. sendInvitation(User inviter, java.util.List<User> invitees, int expirySeconds, InvitationCallback callBackHandler, ISFSObject params)Send an Invitation to a User.
An Invitation can be sent for various purposes such as for joining a room/game, adding a friend to the Buddy List etc...voidISFSGameApi. sendJoinRoomInvitation(Room target, User inviter, java.util.List<User> invitees, int expirySeconds, boolean asSpect, boolean leaveLastJoinedRoom, ISFSObject params)Invites Users / Players in an existing Room.voidSFSGameApi. sendJoinRoomInvitation(Room target, User inviter, java.util.List<User> invitees, int expirySeconds, boolean asSpect, boolean leaveLastJoinedRoom, ISFSObject params)Invites Users / Players in an existing Room.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.voidISFSApi. sendObjectMessage(Room targetRoom, User sender, ISFSObject message, java.util.Collection<User> recipients)Send an Object message.voidISFSMMOApi. sendObjectMessage(Room targetRoom, User sender, ISFSObject message, Vec3D aoi)Send an Object message based on a custom SFSObject that can contain any data.voidSFSApi. sendObjectMessage(Room targetRoom, User sender, ISFSObject message, java.util.Collection<User> recipients)Send an Object message.voidSFSMMOApi. sendObjectMessage(Room targetRoom, User sender, ISFSObject message, Vec3D aoi)Send an Object message based on a custom SFSObject that can contain any data.voidISFSApi. sendPrivateMessage(User sender, User recipient, java.lang.String message, ISFSObject params)Sends a private chat message.voidSFSApi. sendPrivateMessage(User sender, User recipient, java.lang.String message, ISFSObject params)Sends a private chat message.voidISFSApi. sendPublicMessage(Room targetRoom, User sender, java.lang.String message, ISFSObject params)Sends a public chat message.voidISFSMMOApi. sendPublicMessage(Room targetRoom, User sender, java.lang.String message, ISFSObject params, Vec3D aoi)Sends a public chat message.voidSFSApi. sendPublicMessage(Room targetRoom, User sender, java.lang.String message, ISFSObject params)Sends a public chat message.voidSFSMMOApi. sendPublicMessage(Room targetRoom, User sender, java.lang.String message, ISFSObject params, Vec3D aoi)Sends a public chat message. -
Uses of ISFSObject in com.smartfoxserver.v2.buddylist
Methods in com.smartfoxserver.v2.buddylist that return ISFSObject Modifier and Type Method Description static ISFSObjectBuddyUtils. encodeBuddy(Buddy buddy)ISFSObjectSFSBuddyVariable. getSFSObjectValue()static ISFSObjectBuddyUtils. toSFSObject(BuddyList buddyList, boolean excludeTemporaryBuddies)Methods in com.smartfoxserver.v2.buddylist with parameters of type ISFSObject Modifier and Type Method Description static BuddyListBuddyUtils. fromSFSObject(ISFSObject sfso)protected voidSFSBuddyVariable. setValue(ISFSObject val) -
Uses of ISFSObject in com.smartfoxserver.v2.components.login
Fields in com.smartfoxserver.v2.components.login declared as ISFSObject Modifier and Type Field Description ISFSObjectLoginData. clientIncomingDataThe optional SFSObject sent by the client with his LoginRequestISFSObjectLoginData. clientOutGoingDataThe optional outgoing SFSObject that will be sent to the client with the Login responseISFSObjectLoginData. extraFieldsThe optional extra fields extracted from the database, if specified in the LoginAssistant configuration (might be null) -
Uses of ISFSObject in com.smartfoxserver.v2.components.signup
Methods in com.smartfoxserver.v2.components.signup that return ISFSObject Modifier and Type Method Description ISFSObjectCustomFieldPasswordRecovery. recover(SignUpAssistantComponent suac, User user, ISFSObject params)ISFSObjectIPasswordRecovery. recover(SignUpAssistantComponent suac, User user, ISFSObject params)ISFSObjectLegacyPasswordRecovery. recover(SignUpAssistantComponent suac, User user, ISFSObject params)Methods in com.smartfoxserver.v2.components.signup with parameters of type ISFSObject Modifier and Type Method Description voidISignUpAssistantPlugin. execute(User user, ISFSObject params, SignUpConfiguration config)Handles the execution of the plugin logicvoidSignUpAssistantComponent. handleClientRequest(User sender, ISFSObject params)ISFSObjectCustomFieldPasswordRecovery. recover(SignUpAssistantComponent suac, User user, ISFSObject params)ISFSObjectIPasswordRecovery. recover(SignUpAssistantComponent suac, User user, ISFSObject params)ISFSObjectLegacyPasswordRecovery. recover(SignUpAssistantComponent suac, User user, ISFSObject params)voidISignUpValidator. validate(IDBManager dbManager, ISFSObject data) -
Uses of ISFSObject in com.smartfoxserver.v2.controllers.filter
Methods in com.smartfoxserver.v2.controllers.filter with parameters of type ISFSObject Modifier and Type Method Description FilterActionISystemFilter. handleClientRequest(User sender, ISFSObject params)Handles a client requestFilterActionReadOnlyUserVariablesFilter. handleClientRequest(User sender, ISFSObject params)FilterActionISystemFilterChain. runRequest(User sender, ISFSObject params)FilterActionSysControllerFilterChain. runRequest(User sender, ISFSObject params) -
Uses of ISFSObject in com.smartfoxserver.v2.controllers.system
Methods in com.smartfoxserver.v2.controllers.system with parameters of type ISFSObject Modifier and Type Method Description protected booleanLogin. customLogin(ISFSObject sfso, com.smartfoxserver.bitswarm.io.IRequest request, Zone zone)protected voidLogin. validateFormalParameters(ISFSObject sfso) -
Uses of ISFSObject in com.smartfoxserver.v2.entities
Fields in com.smartfoxserver.v2.entities declared as ISFSObject Modifier and Type Field Description ISFSObjectLoginData. paramsOutConstructors in com.smartfoxserver.v2.entities with parameters of type ISFSObject Constructor Description LoginData(ISession session, java.lang.String userName, java.lang.String password, ISFSObject paramsOut, boolean forceLogout) -
Uses of ISFSObject in com.smartfoxserver.v2.entities.data
Classes in com.smartfoxserver.v2.entities.data that implement ISFSObject Modifier and Type Class Description classSFSObjectSFSObject and SFSArray represent a platform-neutral, high level objects that abstract the data transport between client and server.classSFSObjectLiteMethods in com.smartfoxserver.v2.entities.data that return ISFSObject Modifier and Type Method Description ISFSObjectISFSArray. getSFSObject(int index)Get the element at the specified index as ISFSObject.ISFSObjectISFSObject. getSFSObject(java.lang.String key)Get the element for the specified key as ISFSObject.ISFSObjectSFSArray. getSFSObject(int index)ISFSObjectSFSObject. getSFSObject(java.lang.String key)static ISFSObjectSFSObject. newFromJsonData(java.lang.String jsonStr)Creates an SFSObject from a JSON literal.Methods in com.smartfoxserver.v2.entities.data with parameters of type ISFSObject Modifier and Type Method Description voidISFSArray. addSFSObject(ISFSObject value)Add a nested ISFSObjectvoidSFSArray. addSFSObject(ISFSObject value)voidISFSObject. putSFSObject(java.lang.String key, ISFSObject value)Add a nested SFSObjectvoidSFSObject. putSFSObject(java.lang.String key, ISFSObject value) -
Uses of ISFSObject in com.smartfoxserver.v2.entities.invitation
Methods in com.smartfoxserver.v2.entities.invitation that return ISFSObject Modifier and Type Method Description ISFSObjectInvitation. getParams()An SFSObject of custom parameters can be attached to the invitation.ISFSObjectSFSInvitation. getParams()Methods in com.smartfoxserver.v2.entities.invitation with parameters of type ISFSObject Modifier and Type Method Description protected voidSFSInvitationManager. handleAcceptedInvitation(Invitation invitation, ISFSObject params)protected voidSFSInvitationManager. handleRefusedInvitation(Invitation invitation, ISFSObject params)voidInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)Fired when the invited User has accepted the invitationvoidInvitationManager. onInvitationResult(int invitationId, InvitationResponse result, ISFSObject params)Handle the response to an invitationvoidInvitationManager. onInvitationResult(Invitation invitation, InvitationResponse result, ISFSObject params)Handle the response to an invitationvoidSFSInvitationManager. onInvitationResult(int invitationId, InvitationResponse result, ISFSObject params)voidSFSInvitationManager. onInvitationResult(Invitation invitation, InvitationResponse result, ISFSObject params)voidInvitationCallback. onRefused(Invitation invObj, ISFSObject params)Fired when the invited User has refused the invitationvoidInvitation. setParams(ISFSObject params)An SFSObject of custom parameters can be attached to the invitation.voidSFSInvitation. setParams(ISFSObject params)Constructors in com.smartfoxserver.v2.entities.invitation with parameters of type ISFSObject Constructor Description SFSInvitation(User inviter, User invitee, int secondsForAnswer, ISFSObject params) -
Uses of ISFSObject in com.smartfoxserver.v2.entities.variables
Methods in com.smartfoxserver.v2.entities.variables that return ISFSObject Modifier and Type Method Description ISFSObjectSFSUserVariable. getSFSObjectValue()Get the value of the variable as SFSObjectISFSObjectVariable. getSFSObjectValue()Get the value of the variable as SFSObjectMethods in com.smartfoxserver.v2.entities.variables with parameters of type ISFSObject Modifier and Type Method Description protected voidSFSUserVariable. setValue(ISFSObject val) -
Uses of ISFSObject in com.smartfoxserver.v2.extensions
Methods in com.smartfoxserver.v2.extensions with parameters of type ISFSObject Modifier and Type Method Description voidIClientRequestHandler. handleClientRequest(User sender, ISFSObject params)Handle a client requestvoidISFSExtension. handleClientRequest(java.lang.String cmdName, User sender, ISFSObject params)This method is called whenever a client sends a request to this ExtensionvoidSFSExtension. handleClientRequest(java.lang.String requestId, User sender, ISFSObject params)This method is called whenever a client sends a request to this Extensionprotected voidBaseClientRequestHandler. send(java.lang.String cmdName, ISFSObject params, User recipient)Send a response back to a Userprotected voidBaseClientRequestHandler. send(java.lang.String cmdName, ISFSObject params, User recipient, boolean useUDP)Send a response back to a Userprotected voidBaseClientRequestHandler. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients)Broadcast a response back to multiple Usersprotected voidBaseClientRequestHandler. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients, boolean useUDP)Broadcast a response back to multiple Usersprotected voidBaseServerEventHandler. send(java.lang.String cmdName, ISFSObject params, User recipient)Send a response back to a Userprotected voidBaseServerEventHandler. send(java.lang.String cmdName, ISFSObject params, User recipient, boolean useUDP)Send a response back to a Userprotected voidBaseServerEventHandler. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients)Broadcast a response back to multiple Usersprotected voidBaseServerEventHandler. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients, boolean useUDP)Broadcast a response back to multiple UsersvoidBaseSFSExtension. send(java.lang.String cmdName, ISFSObject params, User recipient)voidBaseSFSExtension. send(java.lang.String cmdName, ISFSObject params, User recipient, boolean useUDP)voidBaseSFSExtension. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients)voidBaseSFSExtension. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients, boolean useUDP)Send an extension message/response to a list of recipientsvoidISFSExtension. send(java.lang.String cmdName, ISFSObject params, User recipient)voidISFSExtension. send(java.lang.String cmdName, ISFSObject params, User recipient, boolean useUDP)Send an extension message/response to a single UservoidISFSExtension. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients)voidISFSExtension. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients, boolean useUDP)Send an extension message/response to a list of recipients -
Uses of ISFSObject in com.smartfoxserver.v2.extensions.filter
Methods in com.smartfoxserver.v2.extensions.filter with parameters of type ISFSObject Modifier and Type Method Description FilterActionIFilter. handleClientRequest(java.lang.String requestId, User sender, ISFSObject params)Handles a client requestFilterActionIFilterChain. runRequestInChain(java.lang.String requestId, User sender, ISFSObject params)FilterActionSFSExtensionFilterChain. runRequestInChain(java.lang.String requestId, User sender, ISFSObject params) -
Uses of ISFSObject in com.smartfoxserver.v2.game
Methods in com.smartfoxserver.v2.game that return ISFSObject Modifier and Type Method Description ISFSObjectCreateSFSGameSettings. getInvitationParams()Get optional SFSObject containing custom invitation parameters.Methods in com.smartfoxserver.v2.game with parameters of type ISFSObject Modifier and Type Method Description voidGenericInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)voidJoinRoomInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)voidSFSGameInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)voidGenericInvitationCallback. onRefused(Invitation invObj, ISFSObject params)voidJoinRoomInvitationCallback. onRefused(Invitation invObj, ISFSObject params)voidSFSGameInvitationCallback. onRefused(Invitation invObj, ISFSObject params)voidCreateSFSGameSettings. setInvitationParams(ISFSObject invitationParams)Set the custom invitation parameters.
-