Errai 3.0.1-SNAPSHOT

Package org.jboss.errai.bus.client.api

Interface Summary
BusLifecycleListener Errai's ClientMessageBus has three conceptual states in its lifecycle: local only, connecting, and connected.
BusMonitor  
CallableFuture<T> A CallableFuture is something that can be used to reply to an RPC call asynchronously.
ClientMessageBus An extended client-specific/in-browser interface of MessageBus, which defines client-specific functionality.
HasEncoded This interface indicates to the bus whether or not the Message being routed already contains a pre-built JSON encoding.
QueueSession The combination of a communication channel (identified by an HTTPSession or other communication session, such as an open WebSocket channel) with an Errai Bus queue ID.
SessionEndListener Callback interface for receiving notifications when QueueSessions end.
SubscribeListener Callback interface for receiving notifications when a new subscription is registered on the bus.
Subscription  
TransportError A class representing the details of a network/transport error on the bus.
TransportErrorHandler A transport error handler is used for handling errors which arise from network communication problems between the client bus and the remote server bus.
UnsubscribeListener Callback interface for receiving notifications when a subscription is de-registered on the bus.
 

Class Summary
BusErrorCallback  
BusLifecycleAdapter Do-nothing implementation of BusLifecycleListener.
BusLifecycleEvent Represents the event that happens during a state transition in the ClientMessageBus lifecycle.
RetryInfo Contains information about a potential upcoming attempt to retry something.
SessionEndEvent The event object that is delievered to SessionEndListeners when a QueueSession ends.
 

Enum Summary
RoutingFlag Enumeration of flags that can be used when sending messages, to specify how they should be sent
 

Exception Summary
BadlyFormedMessageException Thrown when a message has not been properly formed and therefore cannot be transmitted.
 

Annotation Types Summary
Local Local indicates the scope of the service, endpoint or any other bus enabled service should be limited to the local bus.
UncaughtException Indicates that the annotated method should be invoked when an exception occurs in the client-side message bus that is not handled by an ErrorCallback.
 


Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.