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 User
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 usernamevoid
ISFSGameApi. replyToInvitation(User invitedUser, int invitationId, InvitationResponse reply, ISFSObject params, boolean fireClientEvent)
Handle the Invitation reply of a Uservoid
SFSGameApi. replyToInvitation(User invitedUser, int invitationId, InvitationResponse reply, ISFSObject params, boolean fireClientEvent)
Handle the Invitation reply of a Uservoid
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. sendBuddyMessage(User sender, User recipient, java.lang.String message, ISFSObject params)
void
ISFSBuddyApi. sendBuddyMessage(User sender, User recipient, java.lang.String message, ISFSObject params)
Send a Buddy Message to any Buddy in your list.void
SFSApi. sendBuddyMessage(User sender, User recipient, java.lang.String message, ISFSObject params)
void
SFSBuddyApi. sendBuddyMessage(User sender, User recipient, java.lang.String message, ISFSObject params)
Send a Buddy Message to any Buddy in your list.void
ISFSApi. sendExtensionResponse(java.lang.String cmdName, ISFSObject params, User recipient, Room room, boolean useUDP)
void
ISFSApi. sendExtensionResponse(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients, Room room, boolean useUDP)
void
SFSApi. sendExtensionResponse(java.lang.String cmdName, ISFSObject params, User recipient, Room room, boolean useUDP)
void
SFSApi. sendExtensionResponse(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients, Room room, boolean useUDP)
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
ISFSGameApi. 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...void
SFSGameApi. 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...void
ISFSGameApi. 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.void
SFSGameApi. 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.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.void
ISFSApi. sendObjectMessage(Room targetRoom, User sender, ISFSObject message, java.util.Collection<User> recipients)
Send an Object message.void
ISFSMMOApi. sendObjectMessage(Room targetRoom, User sender, ISFSObject message, Vec3D aoi)
Send an Object message based on a custom SFSObject that can contain any data.void
SFSApi. sendObjectMessage(Room targetRoom, User sender, ISFSObject message, java.util.Collection<User> recipients)
Send an Object message.void
SFSMMOApi. sendObjectMessage(Room targetRoom, User sender, ISFSObject message, Vec3D aoi)
Send an Object message based on a custom SFSObject that can contain any data.void
ISFSApi. sendPrivateMessage(User sender, User recipient, java.lang.String message, ISFSObject params)
Sends a private chat message.void
SFSApi. sendPrivateMessage(User sender, User recipient, java.lang.String message, ISFSObject params)
Sends a private chat message.void
ISFSApi. sendPublicMessage(Room targetRoom, User sender, java.lang.String message, ISFSObject params)
Sends a public chat message.void
ISFSMMOApi. sendPublicMessage(Room targetRoom, User sender, java.lang.String message, ISFSObject params, Vec3D aoi)
Sends a public chat message.void
SFSApi. sendPublicMessage(Room targetRoom, User sender, java.lang.String message, ISFSObject params)
Sends a public chat message.void
SFSMMOApi. 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 ISFSObject
BuddyUtils. encodeBuddy(Buddy buddy)
ISFSObject
SFSBuddyVariable. getSFSObjectValue()
static ISFSObject
BuddyUtils. toSFSObject(BuddyList buddyList, boolean excludeTemporaryBuddies)
Methods in com.smartfoxserver.v2.buddylist with parameters of type ISFSObject Modifier and Type Method Description static BuddyList
BuddyUtils. fromSFSObject(ISFSObject sfso)
protected void
SFSBuddyVariable. 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 ISFSObject
LoginData. clientIncomingData
The optional SFSObject sent by the client with his LoginRequestISFSObject
LoginData. clientOutGoingData
The optional outgoing SFSObject that will be sent to the client with the Login responseISFSObject
LoginData. extraFields
The 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 ISFSObject
CustomFieldPasswordRecovery. recover(SignUpAssistantComponent suac, User user, ISFSObject params)
ISFSObject
IPasswordRecovery. recover(SignUpAssistantComponent suac, User user, ISFSObject params)
ISFSObject
LegacyPasswordRecovery. recover(SignUpAssistantComponent suac, User user, ISFSObject params)
Methods in com.smartfoxserver.v2.components.signup with parameters of type ISFSObject Modifier and Type Method Description void
ISignUpAssistantPlugin. execute(User user, ISFSObject params, SignUpConfiguration config)
Handles the execution of the plugin logicvoid
SignUpAssistantComponent. handleClientRequest(User sender, ISFSObject params)
ISFSObject
CustomFieldPasswordRecovery. recover(SignUpAssistantComponent suac, User user, ISFSObject params)
ISFSObject
IPasswordRecovery. recover(SignUpAssistantComponent suac, User user, ISFSObject params)
ISFSObject
LegacyPasswordRecovery. recover(SignUpAssistantComponent suac, User user, ISFSObject params)
void
ISignUpValidator. 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 FilterAction
ISystemFilter. handleClientRequest(User sender, ISFSObject params)
Handles a client requestFilterAction
ReadOnlyUserVariablesFilter. handleClientRequest(User sender, ISFSObject params)
FilterAction
ISystemFilterChain. runRequest(User sender, ISFSObject params)
FilterAction
SysControllerFilterChain. 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 boolean
Login. customLogin(ISFSObject sfso, com.smartfoxserver.bitswarm.io.IRequest request, Zone zone)
protected void
Login. 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 ISFSObject
LoginData. paramsOut
Constructors 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 class
SFSObject
SFSObject and SFSArray represent a platform-neutral, high level objects that abstract the data transport between client and server.class
SFSObjectLite
Methods in com.smartfoxserver.v2.entities.data that return ISFSObject Modifier and Type Method Description ISFSObject
ISFSArray. getSFSObject(int index)
Get the element at the specified index as ISFSObject.ISFSObject
ISFSObject. getSFSObject(java.lang.String key)
Get the element for the specified key as ISFSObject.ISFSObject
SFSArray. getSFSObject(int index)
ISFSObject
SFSObject. getSFSObject(java.lang.String key)
static ISFSObject
SFSObject. 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 void
ISFSArray. addSFSObject(ISFSObject value)
Add a nested ISFSObjectvoid
SFSArray. addSFSObject(ISFSObject value)
void
ISFSObject. putSFSObject(java.lang.String key, ISFSObject value)
Add a nested SFSObjectvoid
SFSObject. 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 ISFSObject
Invitation. getParams()
An SFSObject of custom parameters can be attached to the invitation.ISFSObject
SFSInvitation. getParams()
Methods in com.smartfoxserver.v2.entities.invitation with parameters of type ISFSObject Modifier and Type Method Description protected void
SFSInvitationManager. handleAcceptedInvitation(Invitation invitation, ISFSObject params)
protected void
SFSInvitationManager. handleRefusedInvitation(Invitation invitation, ISFSObject params)
void
InvitationCallback. onAccepted(Invitation invObj, ISFSObject params)
Fired when the invited User has accepted the invitationvoid
InvitationManager. onInvitationResult(int invitationId, InvitationResponse result, ISFSObject params)
Handle the response to an invitationvoid
InvitationManager. onInvitationResult(Invitation invitation, InvitationResponse result, ISFSObject params)
Handle the response to an invitationvoid
SFSInvitationManager. onInvitationResult(int invitationId, InvitationResponse result, ISFSObject params)
void
SFSInvitationManager. onInvitationResult(Invitation invitation, InvitationResponse result, ISFSObject params)
void
InvitationCallback. onRefused(Invitation invObj, ISFSObject params)
Fired when the invited User has refused the invitationvoid
Invitation. setParams(ISFSObject params)
An SFSObject of custom parameters can be attached to the invitation.void
SFSInvitation. 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 ISFSObject
SFSUserVariable. getSFSObjectValue()
Get the value of the variable as SFSObjectISFSObject
Variable. 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 void
SFSUserVariable. 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 void
IClientRequestHandler. handleClientRequest(User sender, ISFSObject params)
Handle a client requestvoid
ISFSExtension. handleClientRequest(java.lang.String cmdName, User sender, ISFSObject params)
This method is called whenever a client sends a request to this Extensionvoid
SFSExtension. handleClientRequest(java.lang.String requestId, User sender, ISFSObject params)
This method is called whenever a client sends a request to this Extensionprotected void
BaseClientRequestHandler. send(java.lang.String cmdName, ISFSObject params, User recipient)
Send a response back to a Userprotected void
BaseClientRequestHandler. send(java.lang.String cmdName, ISFSObject params, User recipient, boolean useUDP)
Send a response back to a Userprotected void
BaseClientRequestHandler. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients)
Broadcast a response back to multiple Usersprotected void
BaseClientRequestHandler. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients, boolean useUDP)
Broadcast a response back to multiple Usersprotected void
BaseServerEventHandler. send(java.lang.String cmdName, ISFSObject params, User recipient)
Send a response back to a Userprotected void
BaseServerEventHandler. send(java.lang.String cmdName, ISFSObject params, User recipient, boolean useUDP)
Send a response back to a Userprotected void
BaseServerEventHandler. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients)
Broadcast a response back to multiple Usersprotected void
BaseServerEventHandler. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients, boolean useUDP)
Broadcast a response back to multiple Usersvoid
BaseSFSExtension. send(java.lang.String cmdName, ISFSObject params, User recipient)
void
BaseSFSExtension. send(java.lang.String cmdName, ISFSObject params, User recipient, boolean useUDP)
void
BaseSFSExtension. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients)
void
BaseSFSExtension. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients, boolean useUDP)
Send an extension message/response to a list of recipientsvoid
ISFSExtension. send(java.lang.String cmdName, ISFSObject params, User recipient)
void
ISFSExtension. send(java.lang.String cmdName, ISFSObject params, User recipient, boolean useUDP)
Send an extension message/response to a single Uservoid
ISFSExtension. send(java.lang.String cmdName, ISFSObject params, java.util.List<User> recipients)
void
ISFSExtension. 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 FilterAction
IFilter. handleClientRequest(java.lang.String requestId, User sender, ISFSObject params)
Handles a client requestFilterAction
IFilterChain. runRequestInChain(java.lang.String requestId, User sender, ISFSObject params)
FilterAction
SFSExtensionFilterChain. 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 ISFSObject
CreateSFSGameSettings. getInvitationParams()
Get optional SFSObject containing custom invitation parameters.Methods in com.smartfoxserver.v2.game with parameters of type ISFSObject Modifier and Type Method Description void
GenericInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)
void
JoinRoomInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)
void
SFSGameInvitationCallback. onAccepted(Invitation invObj, ISFSObject params)
void
GenericInvitationCallback. onRefused(Invitation invObj, ISFSObject params)
void
JoinRoomInvitationCallback. onRefused(Invitation invObj, ISFSObject params)
void
SFSGameInvitationCallback. onRefused(Invitation invObj, ISFSObject params)
void
CreateSFSGameSettings. setInvitationParams(ISFSObject invitationParams)
Set the custom invitation parameters.
-