| 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(java.lang.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,
java.util.concurrent.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,
java.util.List<Transport> transports,
long timeout,
java.util.concurrent.TimeUnit tu) |
static Socket |
ClientUtil.create() |
Socket |
DefaultClient.create()
Create a
Socket |
Socket |
AtmosphereClient.create()
Create a
Socket |
static Socket |
ClientUtil.create(java.lang.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,
java.lang.Class<? extends Socket> socket) |
Socket |
DefaultFuture.get() |
Socket |
DefaultFuture.get(long timeout,
java.util.concurrent.TimeUnit unit) |
static Socket |
ClientUtil.getSocket(Options options,
java.lang.Class<? extends Socket> socket) |
Socket |
DefaultSocket.on(Event event,
Function<?> function) |
Socket |
DefaultSocket.on(Function<? extends java.lang.Object> function)
Associate a
Function with the Socket. |
Socket |
DefaultSocket.on(java.lang.String functionName,
Function<? extends java.lang.Object> function)
Associate a
Function with the Socket. |
Socket |
DefaultSocket.open(Request request) |
Socket |
DefaultSocket.open(Request request,
long timeout,
java.util.concurrent.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(java.lang.Class<? extends Socket> socket) |
static Socket |
ClientUtil.create(Options options,
java.lang.Class<? extends Socket> socket) |
static Socket |
ClientUtil.getSocket(Options options,
java.lang.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,
java.util.concurrent.TimeUnit unit) |
| Constructor and Description |
|---|
FutureProxy(Socket socket,
T proxyiedFuture) |
Copyright © 2019. All Rights Reserved.