|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.wasync.impl.SocketRuntime
public class SocketRuntime
| Field Summary | |
|---|---|
protected List<FunctionWrapper> |
functions
|
protected Options |
options
|
protected DefaultFuture |
rootFuture
|
protected com.ning.http.client.websocket.WebSocket |
webSocket
|
| Constructor Summary | |
|---|---|
SocketRuntime(Options options,
DefaultFuture rootFuture,
List<FunctionWrapper> functions)
|
|
SocketRuntime(com.ning.http.client.websocket.WebSocket webSocket,
Options options,
DefaultFuture rootFuture,
List<FunctionWrapper> functions)
|
|
| Method Summary | |
|---|---|
DefaultFuture |
future()
|
com.ning.http.client.ListenableFuture<com.ning.http.client.Response> |
httpWrite(Request request,
Object object,
Object data)
|
protected Object |
invokeEncoder(List<Encoder<? extends Object,?>> encoders,
Object instanceType)
|
void |
webSocketWrite(Request request,
Object object,
Object data)
|
Future |
write(Request request,
Object data)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final com.ning.http.client.websocket.WebSocket webSocket
protected final Options options
protected final DefaultFuture rootFuture
protected final List<FunctionWrapper> functions
| Constructor Detail |
|---|
public SocketRuntime(com.ning.http.client.websocket.WebSocket webSocket,
Options options,
DefaultFuture rootFuture,
List<FunctionWrapper> functions)
public SocketRuntime(Options options,
DefaultFuture rootFuture,
List<FunctionWrapper> functions)
| Method Detail |
|---|
public DefaultFuture future()
protected Object invokeEncoder(List<Encoder<? extends Object,?>> encoders,
Object instanceType)
public Future write(Request request,
Object data)
throws IOException
IOException
public void webSocketWrite(Request request,
Object object,
Object data)
throws IOException
IOException
public com.ning.http.client.ListenableFuture<com.ning.http.client.Response> httpWrite(Request request,
Object object,
Object data)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||