org.atmosphere.wasync.serial
Class SerialSocketRuntime

java.lang.Object
  extended by org.atmosphere.wasync.impl.SocketRuntime
      extended by org.atmosphere.wasync.serial.SerialSocketRuntime

public class SerialSocketRuntime
extends SocketRuntime


Field Summary
 
Fields inherited from class org.atmosphere.wasync.impl.SocketRuntime
functions, options, rootFuture, webSocket
 
Constructor Summary
SerialSocketRuntime(Options options, DefaultFuture rootFuture, SerializedSocket serializedSocket, List<FunctionWrapper> functions)
           
SerialSocketRuntime(com.ning.http.client.websocket.WebSocket webSocket, Options options, DefaultFuture rootFuture, SerializedSocket serializedSocket, List<FunctionWrapper> functions)
           
 
Method Summary
 Future write(Request request, Object data)
           
 
Methods inherited from class org.atmosphere.wasync.impl.SocketRuntime
future, httpWrite, invokeEncoder, webSocketWrite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialSocketRuntime

public SerialSocketRuntime(com.ning.http.client.websocket.WebSocket webSocket,
                           Options options,
                           DefaultFuture rootFuture,
                           SerializedSocket serializedSocket,
                           List<FunctionWrapper> functions)

SerialSocketRuntime

public SerialSocketRuntime(Options options,
                           DefaultFuture rootFuture,
                           SerializedSocket serializedSocket,
                           List<FunctionWrapper> functions)
Method Detail

write

public Future write(Request request,
                    Object data)
             throws IOException
Overrides:
write in class SocketRuntime
Throws:
IOException


Copyright © 2013. All Rights Reserved.