Uses of Interface
sfs2x.client.entities.User
-
Packages that use User Package Description sfs2x.client sfs2x.client.entities sfs2x.client.entities.invitation sfs2x.client.entities.managers sfs2x.client.requests -
-
Uses of User in sfs2x.client
Methods in sfs2x.client that return User Modifier and Type Method Description User
ISmartFox. getMySelf()
User
SmartFox. getMySelf()
Returns the User object representing the client when connected to a SmartFoxServer 2X instance.Methods in sfs2x.client with parameters of type User Modifier and Type Method Description void
ISmartFox. setMySelf(User u)
void
SmartFox. setMySelf(User mySelf)
* API internal usage only * -
Uses of User in sfs2x.client.entities
Classes in sfs2x.client.entities that implement User Modifier and Type Class Description class
SFSUser
The SFSUser object represents a client logged in SmartFoxServer.Methods in sfs2x.client.entities that return User Modifier and Type Method Description static User
SFSUser. fromSFSArray(com.smartfoxserver.v2.entities.data.ISFSArray sfsa)
* API internal usage only *static User
SFSUser. fromSFSArray(com.smartfoxserver.v2.entities.data.ISFSArray sfsa, Room room)
* API internal usage only *User
Room. getUserById(int id)
Retrieves a User object from its id property.User
SFSRoom. getUserById(int id)
User
Room. getUserByName(java.lang.String name)
Retrieves a User object from its name property.User
SFSRoom. getUserByName(java.lang.String name)
Methods in sfs2x.client.entities that return types with arguments of type User Modifier and Type Method Description java.util.List<User>
Room. getPlayerList()
Returns a list of User objects representing the players currently inside this Room (Game Rooms only).java.util.List<User>
SFSRoom. getPlayerList()
java.util.List<User>
Room. getSpectatorList()
Returns a list of User objects representing the spectators currently inside this Room (Game Rooms only).java.util.List<User>
SFSRoom. getSpectatorList()
java.util.List<User>
Room. getUserList()
Returns a list of User objects representing all the users currently inside this Room.java.util.List<User>
SFSRoom. getUserList()
Methods in sfs2x.client.entities with parameters of type User Modifier and Type Method Description void
Room. addUser(User user)
* API internal usage only *void
SFSRoom. addUser(User user)
* API internal usage only *boolean
Room. containsUser(User user)
Indicates whether the specified user is currently inside this Room or not.boolean
SFSRoom. containsUser(User user)
void
Room. removeUser(User user)
* API internal usage only *void
SFSRoom. removeUser(User user)
* API internal usage only * -
Uses of User in sfs2x.client.entities.invitation
Methods in sfs2x.client.entities.invitation that return User Modifier and Type Method Description User
Invitation. getInvitee()
Returns the User object corresponding to the user who received the invitation.User
SFSInvitation. getInvitee()
User
Invitation. getInviter()
Returns the User object corresponding to the user who sent the invitation.User
SFSInvitation. getInviter()
Constructors in sfs2x.client.entities.invitation with parameters of type User Constructor Description SFSInvitation(User inviter, User invitee)
SFSInvitation(User inviter, User invitee, int secondsForAnswer)
SFSInvitation(User inviter, User invitee, int secondsForAnswer, com.smartfoxserver.v2.entities.data.ISFSObject parameters)
Creates a new SFSInvitation instance. -
Uses of User in sfs2x.client.entities.managers
Methods in sfs2x.client.entities.managers that return User Modifier and Type Method Description User
IUserManager. getUserById(int userId)
Retrieves a User object from its id property.User
SFSUserManager. getUserById(int userId)
User
IUserManager. getUserByName(java.lang.String userName)
Retrieves a User object from its name property.User
SFSUserManager. getUserByName(java.lang.String userName)
Methods in sfs2x.client.entities.managers that return types with arguments of type User Modifier and Type Method Description java.util.List<User>
IUserManager. getUserList()
Get the whole list of users inside the Rooms joined by the client.java.util.List<User>
SFSUserManager. getUserList()
Methods in sfs2x.client.entities.managers with parameters of type User Modifier and Type Method Description void
IUserManager. addUser(User user)
* API internal usage only *void
SFSUserManager. addUser(User user)
boolean
IUserManager. containsUser(User user)
Indicates whether a user exists in the local users list or not.boolean
SFSUserManager. containsUser(User user)
java.util.List<Room>
IRoomManager. getUserRooms(User user)
Retrieves a list of Rooms joined by the specified user.java.util.List<Room>
SFSRoomManager. getUserRooms(User user)
void
IRoomManager. removeUser(User user)
* API internal usage only *void
IUserManager. removeUser(User user)
* API internal usage only *void
SFSRoomManager. removeUser(User user)
void
SFSUserManager. removeUser(User user)
Method parameters in sfs2x.client.entities.managers with type arguments of type User Modifier and Type Method Description void
IUserManager. replaceAll(java.util.List<User> userList)
* API internal usage only *void
SFSUserManager. replaceAll(java.util.List<User> userList)
-
Uses of User in sfs2x.client.requests
Constructor parameters in sfs2x.client.requests with type arguments of type User Constructor Description ObjectMessageRequest(com.smartfoxserver.v2.entities.data.ISFSObject obj, Room targetRoom, java.util.List<User> recipients)
Creates a new ObjectMessageRequest instance.
-