org.cafesip.gwtcomp.server
Class LiveDataServiceImpl

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
              extended by org.cafesip.gwtcomp.server.LiveDataServiceImpl
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, LiveDataService

public class LiveDataServiceImpl
extends com.google.gwt.user.server.rpc.RemoteServiceServlet
implements LiveDataService

A GWT servlet for handling the server-side RPC functions needed by the LiveDataPanel to display and refresh data dynamically. This class must be added to the web.xml of your application as explained in the documentation for the LiveDataPanel.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.cafesip.gwtcomp.client.common.LiveDataService
LiveDataService.Util
 
Constructor Summary
LiveDataServiceImpl()
           
 
Method Summary
 ChartInitData getChartInfoAndInitialData(java.lang.String identifier, java.lang.String instance, java.lang.String param)
           
 ChartData[] getNextData(java.lang.String identifier, java.lang.String instance, java.lang.String param)
           
 void init(javax.servlet.ServletConfig config)
           
 
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
doGetSerializationPolicy, doPost, doUnexpectedFailure, getSerializationPolicy, getThreadLocalRequest, getThreadLocalResponse, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, readContent, shouldCompressResponse
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, 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
 

Constructor Detail

LiveDataServiceImpl

public LiveDataServiceImpl()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

getChartInfoAndInitialData

public ChartInitData getChartInfoAndInitialData(java.lang.String identifier,
                                                java.lang.String instance,
                                                java.lang.String param)
Specified by:
getChartInfoAndInitialData in interface LiveDataService

getNextData

public ChartData[] getNextData(java.lang.String identifier,
                               java.lang.String instance,
                               java.lang.String param)
Specified by:
getNextData in interface LiveDataService


http://www.cafesip.org