| Package | Description |
|---|---|
| org.granite.client.messaging | |
| org.granite.client.messaging.channel | |
| org.granite.client.messaging.events |
| Modifier and Type | Method and Description |
|---|---|
static void |
ResponseListenerDispatcher.dispatch(ResponseListener listener,
Event event) |
static ResponseMessage |
ResponseListenerDispatcher.getResponseMessage(Event event) |
abstract void |
AllInOneResponseListener.onEvent(Event event)
Callback called for any kind of channel event
|
| Modifier and Type | Method and Description |
|---|---|
Event |
AsyncToken.setChannelListener(ResponseListener channelListener) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IncomingMessageEvent<M extends Message>
Event for a message received from a channel
|
interface |
IssueEvent
Event dispatched by a channel when a client-side issue occurs
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIssueEvent |
class |
AbstractResponseEvent<M extends ResponseMessage>
Message received from a remoting channel
|
class |
CancelledEvent
Event dispatched by a channel when the request is cancelled
|
class |
FailureEvent
Event dispatched by a channel when the request fails due to a client-side communication error (network, serialization...)
|
class |
FaultEvent |
class |
ResultEvent
Event for a successful response
|
class |
TimeoutEvent
Event dispatched by a channel when the request is timed out
|
class |
TopicMessageEvent |