org.atmosphere.wasync.impl
Class AtmosphereSocket

java.lang.Object
  extended by org.atmosphere.wasync.impl.DefaultSocket
      extended by org.atmosphere.wasync.impl.AtmosphereSocket
All Implemented Interfaces:
Socket

public class AtmosphereSocket
extends DefaultSocket


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.atmosphere.wasync.Socket
Socket.STATUS
 
Field Summary
 
Fields inherited from class org.atmosphere.wasync.impl.DefaultSocket
functions, options, request, socketRuntime, transportInUse
 
Constructor Summary
AtmosphereSocket(Options options)
           
 
Method Summary
protected  void addFunction(long timeout, java.util.concurrent.TimeUnit tu)
          
 void close()
          Close this Socket, asynchronously.
protected  void closeRuntime(boolean async)
          
 SocketRuntime createRuntime(DefaultFuture future, Options options, java.util.List<FunctionWrapper> functions)
          
protected  void doCloseRequest()
           
 
Methods inherited from class org.atmosphere.wasync.impl.DefaultSocket
connect, fire, getTransport, internalSocket, on, on, on, open, open, request, status
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtmosphereSocket

public AtmosphereSocket(Options options)
Method Detail

closeRuntime

protected void closeRuntime(boolean async)

Overrides:
closeRuntime in class DefaultSocket

doCloseRequest

protected void doCloseRequest()

addFunction

protected void addFunction(long timeout,
                           java.util.concurrent.TimeUnit tu)

Overrides:
addFunction in class DefaultSocket

createRuntime

public SocketRuntime createRuntime(DefaultFuture future,
                                   Options options,
                                   java.util.List<FunctionWrapper> functions)

Overrides:
createRuntime in class DefaultSocket

close

public void close()
Close this Socket, asynchronously.

Specified by:
close in interface Socket
Overrides:
close in class DefaultSocket


Copyright © 2014. All Rights Reserved.