org.gwtcomet.server
Class StreamingServiceImpl

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.gwtcomet.server.StreamingServiceImpl
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, StreamingServiceInternal, StreamingServiceInternalGWT, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class StreamingServiceImpl
extends com.google.gwt.user.server.rpc.RemoteServiceServlet
implements StreamingServiceInternalGWT

See Also:
Serialized Form

Constructor Summary
StreamingServiceImpl()
           
 
Method Summary
 void sendMessage(String queueName, String message)
           
 void subscribeToTopic(String queueName)
           
 void unsubscribeFromTopic(String queueName)
           
 
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
doGetSerializationPolicy, doPost, doUnexpectedFailure, getSerializationPolicy, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, 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, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamingServiceImpl

public StreamingServiceImpl()
Method Detail

subscribeToTopic

public void subscribeToTopic(String queueName)
Specified by:
subscribeToTopic in interface StreamingServiceInternal
Specified by:
subscribeToTopic in interface StreamingServiceInternalGWT

sendMessage

public void sendMessage(String queueName,
                        String message)
Specified by:
sendMessage in interface StreamingServiceInternal
Specified by:
sendMessage in interface StreamingServiceInternalGWT

unsubscribeFromTopic

public void unsubscribeFromTopic(String queueName)
Specified by:
unsubscribeFromTopic in interface StreamingServiceInternal
Specified by:
unsubscribeFromTopic in interface StreamingServiceInternalGWT


Copyright © 2011. All Rights Reserved.