Package org.atmosphere.wasync

Interface Summary
Client<O extends Options,U extends OptionsBuilder,T extends RequestBuilder> An asynchronous client's implementation used to create Socket and Request.
Decoder<U,T> A decoder can be used to 'decode' the response's body.
Encoder<U,T> Encode the request's body (or transform) of type U into an object of type T.
Function<T> A function is asynchronously invoked when a response is received, complete or not.
FunctionResolver FunctionResolver are useful for mapping received message with a Function.
Future An internal Future implementation used by Transport to notify Socket when the transport has connected and available.
Options Configure the underlying WebSocket/HTTP client.
ReplayDecoder A Decoder that always return a List of message to be dispatched one by one to the remaining list of Decoder.
Request Define a request for Socket.
Socket A Socket represents a connection to a remote server.
Transport Define a supported Transport.
 

Class Summary
ClientFactory Create a Client.
Decoder.Decoded<T> A Decoder may return an instance of a Decoded object to prevent some messages from being delivered to a Function, by returning a Decoder.Decoded.ABORT instance.
FunctionWrapper A tuple which contains a Function and its associated functionName.
OptionsBuilder<U extends Options,T extends OptionsBuilder<U,T>> Base class for building Options
RequestBuilder<T extends RequestBuilder<T>> Base class for building Request
 

Enum Summary
Decoder.Decoded.ACTION  
Event This class define the type of event a Function or Decoder will be called with.
Request.METHOD  
Request.TRANSPORT  
Socket.STATUS The current state of the underlying Socket.
 



Copyright © 2014. All Rights Reserved.