Deploy an Application on GPaaS

0 votes

i have a few questions about GPaaS.

1. how to save zone & room when deploy a new application? (every time i upload a new application, sometimes the room & zone are deleted so i have to create one).

2. how to intercept a request from user when user is trying to connect to the server? (i want to decide whether this user can / cannot connect to the server)

3. i read documentation about remove user

/** 
* remove a user from the zone. the user will get disconnected from the server. 
*  
* @param user the user to be removed 
*/  
public void removeUser(IUser user);  
how to use it?
 
thanks

 

asked May 28, 2014 in AppWarpS2 by goldglorygirl (55 points)

1 Answer

+1 vote
 
Best answer
For controlling admission, you can start by taking a look at our "custom authentication" guide

http://appwarps2.shephertz.com/dev-center/server-side-user-authentication/

I recommend you create a separate question for unrelated questions. i.e. a separate one for persisting rooms and zones.
answered May 29, 2014 by dhruvc (1,099 points)
selected May 30, 2014 by goldglorygirl
Its possible that the HSQLDBFile entry in the AppConfig.json file is different. The server uses hsql to persist zones and static rooms. (dynamic rooms are not persisted) See http://appwarps2.shephertz.com/dev-center/basic-concepts/#rooms
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...