org.atmosphere.gwt.server.impl
Class OperaEventSourceResponseWriter

java.lang.Object
  extended by org.atmosphere.gwt.server.impl.GwtResponseWriterImpl
      extended by org.atmosphere.gwt.server.impl.OperaEventSourceResponseWriter
All Implemented Interfaces:
GwtResponseWriter

public class OperaEventSourceResponseWriter
extends GwtResponseWriterImpl

Author:
p.havelaar

Field Summary
 
Fields inherited from class org.atmosphere.gwt.server.impl.GwtResponseWriterImpl
connectionID, logger, resource, shouldEscapeText, writer
 
Constructor Summary
OperaEventSourceResponseWriter(GwtAtmosphereResourceImpl resource)
           
 
Method Summary
protected  void doHeartbeat()
           
protected  void doSendError(int statusCode, String message)
           
protected  void doSuspend()
           
 void doTerminate()
           
protected  void doWrite(List<? extends Serializable> messages)
           
 void initiate()
           
 
Methods inherited from class org.atmosphere.gwt.server.impl.GwtResponseWriterImpl
escapeText, getJsonSerializer, getLastWriteTime, getOutputStream, getRequest, getResponse, getSerializationMode, hasSession, heartbeat, isTerminated, sendError, sendError, serialize, shouldEscapeText, supportsDeflate, suspend, terminate, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperaEventSourceResponseWriter

public OperaEventSourceResponseWriter(GwtAtmosphereResourceImpl resource)
Method Detail

initiate

public void initiate()
              throws IOException
Overrides:
initiate in class GwtResponseWriterImpl
Throws:
IOException

doSendError

protected void doSendError(int statusCode,
                           String message)
                    throws IOException
Specified by:
doSendError in class GwtResponseWriterImpl
Throws:
IOException

doSuspend

protected void doSuspend()
                  throws IOException
Specified by:
doSuspend in class GwtResponseWriterImpl
Throws:
IOException

doWrite

protected void doWrite(List<? extends Serializable> messages)
                throws IOException,
                       SerializationException
Specified by:
doWrite in class GwtResponseWriterImpl
Throws:
IOException
SerializationException

doHeartbeat

protected void doHeartbeat()
                    throws IOException
Specified by:
doHeartbeat in class GwtResponseWriterImpl
Throws:
IOException

doTerminate

public void doTerminate()
                 throws IOException
Specified by:
doTerminate in class GwtResponseWriterImpl
Throws:
IOException


Copyright © 2014. All Rights Reserved.