Package | Description |
---|---|
org.atmosphere.wasync | |
org.atmosphere.wasync.impl | |
org.atmosphere.wasync.serial | |
org.atmosphere.wasync.transport |
Modifier and Type | Method and Description |
---|---|
Transport |
Transport.registerF(FunctionWrapper function)
Register a new
FunctionResolver |
boolean |
FunctionResolver.resolve(String message,
Object functionName,
FunctionWrapper fn)
Resolve the current message
|
Modifier and Type | Field and Description |
---|---|
protected List<FunctionWrapper> |
SocketRuntime.functions |
protected List<FunctionWrapper> |
DefaultSocket.functions |
Modifier and Type | Method and Description |
---|---|
SocketRuntime |
DefaultSocket.createRuntime(DefaultFuture future,
Options options,
List<FunctionWrapper> functions) |
SocketRuntime |
AtmosphereSocket.createRuntime(DefaultFuture future,
Options options,
List<FunctionWrapper> functions) |
Constructor and Description |
---|
AtmosphereSocketRuntime(Transport transport,
Options options,
DefaultFuture rootFuture,
List<FunctionWrapper> functions) |
SocketRuntime(Transport transport,
Options options,
DefaultFuture rootFuture,
List<FunctionWrapper> functions) |
Modifier and Type | Method and Description |
---|---|
SocketRuntime |
SerializedSocket.createRuntime(DefaultFuture future,
Options options,
List<FunctionWrapper> functions) |
Constructor and Description |
---|
SerialSocketRuntime(Transport transport,
Options options,
DefaultFuture rootFuture,
SerializedSocket serializedSocket,
List<FunctionWrapper> functions) |
Modifier and Type | Field and Description |
---|---|
protected List<FunctionWrapper> |
StreamTransport.functions |
Modifier and Type | Method and Description |
---|---|
static boolean |
TransportsUtil.matchFunction(Object instanceType,
Class[] typeArguments,
Class<?> implementedType,
FunctionResolver resolver,
String originalMessage,
Object functionName,
FunctionWrapper wrapper,
Function f) |
Transport |
WebSocketTransport.registerF(FunctionWrapper function)
Register a new
FunctionResolver |
Transport |
StreamTransport.registerF(FunctionWrapper function)
Register a new
FunctionResolver |
Modifier and Type | Method and Description |
---|---|
static boolean |
TransportsUtil.invokeFunction(Event e,
List<Decoder<? extends Object,?>> decoders,
List<FunctionWrapper> functions,
Class<?> implementedType,
Object instanceType,
String functionName,
FunctionResolver resolver) |
static boolean |
TransportsUtil.invokeFunction(List<Decoder<? extends Object,?>> decoders,
List<FunctionWrapper> functions,
Class<?> implementedType,
Object instanceType,
String functionName,
FunctionResolver resolver) |
Constructor and Description |
---|
LongPollingTransport(com.ning.http.client.RequestBuilder requestBuilder,
Options options,
Request request,
List<FunctionWrapper> functions) |
SSETransport(com.ning.http.client.RequestBuilder requestBuilder,
Options options,
Request request,
List<FunctionWrapper> functions) |
StreamTransport(com.ning.http.client.RequestBuilder requestBuilder,
Options options,
Request request,
List<FunctionWrapper> functions) |
WebSocketTransport(com.ning.http.client.RequestBuilder requestBuilder,
Options options,
Request request,
List<FunctionWrapper> functions) |
Copyright © 2015. All Rights Reserved.