org.mega.gasp.platform.servlets
Class InGame
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mega.gasp.platform.servlets.InGame
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class InGame
- extends javax.servlet.http.HttpServlet
This servlet provide to send in game datas to GASP.
The input stream is a byte[] contains (sid,hashtable).
- Author:
- PELLERIN Romain (pellerin@cnam.fr) - MEGA Project
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.http.HttpServlet |
|
Fields inherited from class javax.servlet.GenericServlet |
|
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
private int |
encodeEvents(java.util.Vector events,
java.io.DataOutputStream dos,
CustomTypes customTypes)
|
void |
init()
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cat
private org.apache.log4j.Category cat
platform
private PlatformImpl platform
InGame
public InGame()
init
public void init()
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
encodeEvents
private int encodeEvents(java.util.Vector events,
java.io.DataOutputStream dos,
CustomTypes customTypes)
throws java.lang.Exception
- Parameters:
events
-
- Throws:
java.lang.Exception