Package | Description |
---|---|
org.atmosphere.wasync | |
org.atmosphere.wasync.impl | |
org.atmosphere.wasync.serial | |
org.atmosphere.wasync.util |
Modifier and Type | Method and Description |
---|---|
Socket |
Client.create()
Create a
Socket |
Socket |
Client.create(O options)
|
Socket |
Socket.on(Event event,
Function<?> function)
|
Socket |
Socket.on(Function<?> function)
Associate a
Function with the Socket. |
Socket |
Socket.on(String functionMessage,
Function<?> function)
Associate a
Function with the Socket. |
Socket |
Socket.open(Request request)
Connect to the remote Server using the
Request 's information. |
Socket |
Socket.open(Request request,
long timeout,
TimeUnit unit)
Connect to the remote Server using the
Request 's information, will timeout if the connection failed to open
within a certain time. |
Modifier and Type | Class and Description |
---|---|
class |
AtmosphereSocket |
class |
DefaultSocket
Default implementation of the
Socket |
Modifier and Type | Method and Description |
---|---|
protected Socket |
DefaultSocket.connect(com.ning.http.client.RequestBuilder r,
List<Transport> transports,
long timeout,
TimeUnit tu) |
Socket |
DefaultClient.create()
Create a
Socket |
static Socket |
ClientUtil.create() |
Socket |
AtmosphereClient.create()
Create a
Socket |
static Socket |
ClientUtil.create(Class<? extends Socket> socket) |
Socket |
DefaultClient.create(DefaultOptions options)
|
Socket |
AtmosphereClient.create(DefaultOptions options)
|
static Socket |
ClientUtil.create(Options options) |
static Socket |
ClientUtil.create(Options options,
Class<? extends Socket> socket) |
Socket |
DefaultFuture.get() |
Socket |
DefaultFuture.get(long timeout,
TimeUnit unit) |
static Socket |
ClientUtil.getSocket(Options options,
Class<? extends Socket> socket) |
Socket |
DefaultSocket.on(Event event,
Function<?> function) |
Socket |
DefaultSocket.on(Function<? extends Object> function)
Associate a
Function with the Socket. |
Socket |
DefaultSocket.on(String functionName,
Function<? extends Object> function)
Associate a
Function with the Socket. |
Socket |
DefaultSocket.open(Request request) |
Socket |
DefaultSocket.open(Request request,
long timeout,
TimeUnit tu)
Connect to the remote Server using the
Request 's information, will timeout if the connection failed to open
within a certain time. |
protected Socket |
DefaultFuture.socket() |
Modifier and Type | Method and Description |
---|---|
static Socket |
ClientUtil.create(Class<? extends Socket> socket) |
static Socket |
ClientUtil.create(Options options,
Class<? extends Socket> socket) |
static Socket |
ClientUtil.getSocket(Options options,
Class<? extends Socket> socket) |
Modifier and Type | Class and Description |
---|---|
class |
SerializedSocket
SerializedSocket is a Socket implementation that guarantees ordered message delivery of
fire(Object) calls, by serializing fire calls over a SerializedFireStage . |
Modifier and Type | Method and Description |
---|---|
Socket |
SerializedClient.create()
Create a
Socket |
Socket |
SerializedClient.create(SerializedOptions options)
|
Modifier and Type | Method and Description |
---|---|
Socket |
FutureProxy.get() |
Socket |
FutureProxy.get(long timeout,
TimeUnit unit) |
Constructor and Description |
---|
FutureProxy(Socket socket,
T proxyiedFuture) |
Copyright © 2015. All Rights Reserved.